Date: Sun, 17 Aug 2003 22:12:36 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: dandyking_18@hotmail.com Cc: freebsd-hackers@freebsd.org Subject: Re: help needed-urgent Message-ID: <20030817.221236.68158868.imp@bsdimp.com> In-Reply-To: <BAY1-F161CeEFRoaZX200037ace@hotmail.com> References: <BAY1-F161CeEFRoaZX200037ace@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <BAY1-F161CeEFRoaZX200037ace@hotmail.com>
"DANDY King" <dandyking_18@hotmail.com> writes:
: while((nread = read(fd,buff,BUFFSIZE)) >0)
: send(sockfd,buff,nread,0);
:
: in server same data should receive.
: but some time i am receiveing full and some time 90% only
Get a copy of Stevens. It describes this in detail. Breifly, TCP
doesn't preserve record boundaries. The quirks of Linux and Windows
are beyond the scope of this list, however.
Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030817.221236.68158868.imp>
