private static void BoltSocket() { _serverSocket = new ServerSocket(); _serverSocket.AddMessageHandler<RequestMessage>(RequestHandler); _serverSocket.Bind("tcp://127.0.0.1:9900"); Console.ReadLine(); _serverSocket.Close(); }