Forum > Networking and Web Programming




I am using BlockSocket to connect to some server application - 3rd party ...


When ever there is a new connection to server, server will send some "start" data.
In my case if I close the connection with connection.CloseSocket; and then re-connect with above sequence, server will not send start data, it looks like it thinks "old" connection was re-established.
How can I clean the "old" connection and reconnect?

For instance if I make more connections to server without closing connection before, server will always send me "start" data for every new connection, but this will create to much connections ....

Regards Michox


What OS?
Did you check the status?
How quickly do you reconnect?
Probably a small project showing the problem helps in troubleshooting. But I would expect the OS to keep the connection for some time before shutting it down.


[0] Message Index

Go to full version