Why doesn\'t send() in winsock guarantee delivery of the all bytes you request?
send()
winsock
This is TCP and it\'s blocking sockets.
Similarly,
send tells you what it was able to send via its return value. Loop until send has cumulatively sent all the data or returns an error.
send