private static void Main() { Title("Binary Serialization over TCP/IP [Server]"); using var serviceHost = new TcpServer("127.0.0.1", 8899); serviceHost.RunQueryService(new QueryService().ExecuteQuery); PrintServerReady(); WaitForEnterKey(); } }