Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 1996 18:47:16 -0500 (EST)
From:      "Marc G. Fournier" <scrappy@ki.net>
To:        Joe Greco <jgreco@brasil.moneng.mei.com>
Cc:        jdp@polstra.com, hackers@FreeBSD.org
Subject:   Re: Sockets question...
Message-ID:  <Pine.NEB.3.95.961114184658.11486C-100000@quagmire.ki.net>
In-Reply-To: <199611142248.QAA26418@brasil.moneng.mei.com>

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

> > On Thu, 14 Nov 1996, John Polstra wrote:
> > 
> > > > 	Basically, the server opens up a binary file and sends the data
> > > > to the client.  The client is connecting to the server no problem, but I'm
> > > > don't seem to be able to send >79 bytes across the socket
> > > 
> > > What happens?  Does it hang?  Is data lost?  It should work fine.
> > 
> > 	At 1024, data seems to be lost.  I send 1023 bytes across, and
> > receive 4...send 1023, receive 907...I send across 100 packets, receive
> > 2...
> > 
> > 	As soon as I go to 512 or 80 byte writes, I can pound at it 
> > repeatedly and get the complete image across every time, no errors.
> 
> Are you checking the return value from write() to make sure it actually
> thinks that N bytes were _written_?
>
	*sigh*

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.961114184658.11486C-100000>