Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 1996 17:43:46 -0500 (EST)
From:      "Marc G. Fournier" <scrappy@ki.net>
To:        John Polstra <jdp@polstra.com>
Cc:        hackers@freebsd.org
Subject:   Re: Sockets question... 
Message-ID:  <Pine.NEB.3.95.961114174312.10263A-100000@quagmire.ki.net>
In-Reply-To: <199611142115.NAA10054@austin.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Nov 1996, John Polstra wrote:

> > 	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.
>
	Okay, makes sense...I'll fix the code tonight, thanks...

Marc G. Fournier                                  scrappy@ki.net
Systems Administrator @ ki.net               scrappy@freebsd.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.961114174312.10263A-100000>