D
Diego F.
Hello. I don't know how to force the closing of a blocked socket.
I have an server application that listens to a port. It works as it is very
simple, but I'm not sure about how to close the socket.
I use a thread to run the socket part, so I don't block the user interface.
If I close the application, and open again, the port is still in use.
I try to suspend the thread, but it doesn't work also.
How can I do that?
I have an server application that listens to a port. It works as it is very
simple, but I'm not sure about how to close the socket.
I use a thread to run the socket part, so I don't block the user interface.
If I close the application, and open again, the port is still in use.
I try to suspend the thread, but it doesn't work also.
How can I do that?