Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!rmh From: rmh@apple.com (Rick Holzgrafe) Newsgroups: comp.sys.mac.programmer Subject: Re: AppleTalk ZIP Protocol Message-ID: <807@internal.Apple.COM> Date: 28 Feb 89 18:25:08 GMT References: <781@internal.Apple.COM> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 14 One gotcha about getting all zone names that no-one's mentioned: the response packets will be full-size ATP packets, up to the last one which is only as large as it needs to be. I had several hours of frustration because I'd assumed that if I specified a smaller-than-maximum buffer size to ATP, I'd get my responses in suitably-sized packets. Not so: my small buffers did not overflow but the rest of each packet was simply lost. So use a buffer of 578 bytes, the size of a maximum ATP response. ========================================================================== Rick Holzgrafe | {sun,voder,nsc,mtxinu,dual}!apple!rmh Software Engineer | AppleLink HOLZGRAFE1 rmh@apple.com Apple Computer, Inc. | "All opinions expressed are mine, and do 20525 Mariani Ave. MS: 27-O | not necessarily represent those of my Cupertino, CA 95014 | employer, Apple Computer Inc."