Hello,
I'm working on an application that uses a ServerSocket, but it (at points) stops the server thread and restarts it, throwing a java.net.BindException: address already in use exception.
How can I unbind the ServerSocket (.close() is not working to unbind) so I can re-use the same port seconds later?
Note: The thread the ServerSocket is in is redefined when I reload it.
-- Turt2Live