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?
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?