Date: Thu, 14 Nov 1996 13:15:38 -0800 From: John Polstra <jdp@polstra.com> To: "Marc G. Fournier" <scrappy@ki.net> Cc: hackers@freebsd.org Subject: Re: Sockets question... Message-ID: <199611142115.NAA10054@austin.polstra.com> In-Reply-To: Your message of "Thu, 14 Nov 1996 16:10:34 EST." <Pine.NEB.3.95.961114160318.6795Q-100000@quagmire.ki.net> References: <Pine.NEB.3.95.961114160318.6795Q-100000@quagmire.ki.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Ack...that sounds like exactly the problem...I misunderstood > the read() call :( > > Why does 512k work fine though? no data lose at all.... > > I'm going to code in your suggestion above, but I'm very > curious now as to why 512bytes and 80bytes both work cleanly, but > 256bytes "loses" data... It depends on so many things, all timing related. Tomorrow you might try it again and see it behave entirely differently. Run the server on a machine on the other side of the Internet, and it will behave differently still. You just can't reliably predict what it's going to do. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611142115.NAA10054>