Subject: Stopping and starting the server
Hi!
I'm extending your server exampel. I'm trying to start and stop the server and then start the server again. I get the following error: "System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted"
I've tried closing the socket onServerStop(), I'v tried closing it onServerStart(). I've tried aborting the thread onServerStart(). Nothing seams to help.
Any ideas how to restart the server?
I'm extending your server exampel. I'm trying to start and stop the server and then start the server again. I get the following error: "System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted"
I've tried closing the socket onServerStop(), I'v tried closing it onServerStart(). I've tried aborting the thread onServerStart(). Nothing seams to help.
Any ideas how to restart the server?