A
appzguy
I was hoping someone could help me understand the number of bytes sent
if I am using BeginSend.
Let's assume I send 100 bytes of data using BeginSend. In my async
callback, if I call EndSend it will return me the number of bytes that
were actually sent.
My question is under what circumstances will the number of bytes
reported when calling EndSend not match the number of bytes I wanted to
send. So, EndSend says it sent 50 bytes and I wanted to send 100
bytes.
If the case is that EndSend reports only 50 bytes were sent, do I need
to resend the remaining 50 bytes again by calling BeginSend again with
those 50 bytes?
if I am using BeginSend.
Let's assume I send 100 bytes of data using BeginSend. In my async
callback, if I call EndSend it will return me the number of bytes that
were actually sent.
My question is under what circumstances will the number of bytes
reported when calling EndSend not match the number of bytes I wanted to
send. So, EndSend says it sent 50 bytes and I wanted to send 100
bytes.
If the case is that EndSend reports only 50 bytes were sent, do I need
to resend the remaining 50 bytes again by calling BeginSend again with
those 50 bytes?