Hi all,
I have a problem with some code that I submittet to Planet Source Code
The problem is that if you start a server and then 1 or more clients that it does not releases the ports after closing the clients. The clients did call a SACloseSocket and WSACleanup. Even closing the application does not free the ports. You can see this when you keep on opening and closing clients. You can see the port number adding up
If you look at the socket handle it does rese this, but the port remains in use.
Also adding the folowing line does not help.
If WSAIsBlocking() Then WSACancelBlockingCall
Does anyone have an idea why this happens and how to solve this?
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).