I have to send data over the internet and I have a working windows sockets program that does it but after like sending a command about 50 times or so, the link goes bad and I cant send any more data. I think a buffer of some sort is filling up but I dont know how to empty it.


Thank you.