Example #1
0
 protected override void OnStop()
 {
     Logger.Log("Server Stopping");
     AsynchronousSocketListener.Disconnect();
     _serverThread.Join();
     _serverThread = null;
     Logger.Log("Server Stopped");
 }
Example #2
0
        private static void ServerMethod()
        {
            AsynchronousSocketListener server = new AsynchronousSocketListener();

            server.StartListening();
        }