W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2000

Re: using winsock

From: Jonathan Rynd <jrynd@bigfoot.com>
Date: Wed, 24 May 2000 09:00:31 -0400
Message-Id: <4.3.1.0.20000524085238.00a6e7a0@pop.njcc.com>
To: Arora Meenakshi <marora@redcreek.com>, "LibWWW (E-mail)" <www-lib@w3.org>
Are you using UDP or TCP as your transport protocol?

My guess is you are using TCP, the reliable protocol. If that's the case...

Keep in mind that TCP is "stream-based" and no matter how much data you 
give it to send, it may send as little as one character or as much as 
everything that you give to it. You have to check the return value of 
send() to determine how many bytes actually got sent.

Please see the Winsock Programmers' FAQ at:
http://www.cyberport.com/~tangent/programming/winsock/
particularly the article at:
http://www.cyberport.com/~tangent/programming/winsock/articles/effective-tcp 
.html
Received on Wednesday, 24 May 2000 08:54:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:36 GMT