help needed-urgent
M. Warner Losh
imp at bsdimp.com
Sun Aug 17 21:12:40 PDT 2003
In message: <BAY1-F161CeEFRoaZX200037ace at hotmail.com>
"DANDY King" <dandyking_18 at 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
More information about the freebsd-hackers
mailing list