/// <summary> /// Stop the Chat server. /// </summary> public void Stop() { _reactor.Stop(); _listener.Stop(); Console.WriteLine($"Server stop running on port {_port}..."); _clients.ForEach((socketClient) => socketClient.Close()); _reactor.Dispose(); }