Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Some winsock questions.

Status
Not open for further replies.

Schroeder

MIS
Sep 25, 2001
382
US
What exactly am I sending when I use the SendData method of the Winsock control? I know how to use it to transmit and receive data, I'm just wondering how it's doing it.
Does it wrap up everything I'm sending into one TCP/IP packet or break it up and send it as several? Is it not that simple? Is there a limit to the amount of data I can transmit in one shot?

I've started to use the UDP protocol more often because it's easier. My understanding is that the sending machine sets a packet adrift on the network. If the packet does not find its home before it times out, it will be lost without even a record that it ever existed. I don't think I've lost any yet but am I getting lulled into a false sense of security? If I start sending those packets across the internet should I expect to lose a few from time to time?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top