Hi All,

I read that the return value of the send() function is the amount of bytes of the message that was sent. Reading a tutorial I found on the internet there was this comment on send()

Remember, if the value returned by send() doesn't match the value in len (size of the message you sent), it's up to you to send the rest of the string.
Well i cant find any information on the internet about sending the rest of the data, even the examples on msdn just use the send() function without checking that the bytes sent is equal to the length of the message.

How do i send the rest of a message if send() only sends part of it?

Thanks