On Sunday, January 27, 2002, at 08:03 AM, Andrew wrote:
> > > On Sun, 27 Jan 2002, Andrew wrote: > >> but it seems that if I don't read the packet with one read call then >> the >> packet is lost. Is this correct behaviour? I guess if the buffer is >> small > > Well it seems that if you dont get the entire packet in one read it is > lost forever. It also seems that no matter how many bytes you try and > read > you only ever get one packet (though I haven't confirmed that for sure). > > If this is how it really works then perhaps it should be documented > somewhere. It is and it is :-}. At least, Stevens discusses it in "Unix Network Programming", v1, 2e (sec. 20.3). Different systems, alas, treat this case differently. Regards, Justin -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | Men are from Earth. | Women are from Earth. | Deal with it. *--------------------------------------*-------------------------------* To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message