How can I check if all the data has been already received after I use send? I mean, I want to know when the send buffer "empties"...
Printable View
How can I check if all the data has been already received after I use send? I mean, I want to know when the send buffer "empties"...
Me thinks this should be in the windows api forum ;) Good luck though, im sure someone there can help you out
Look up TCP/IP protocol. It will by default insure that every package sent is delivered. If it can't be then it attempts to resend. Where as UDP doesn't resend packets which is commonly used in games. If you really wanted you could use things like checksum.
I had forgotten I asked this, lol. I figured it out soon after I posted. There is a funcion called select() that does the job wonderfully.