Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            using (var tcpServiceHost = new TcpServer("127.0.0.1", 8899))
            {
                tcpServiceHost.Open();

                Console.WriteLine("The query service is ready.");
                Console.WriteLine("Press <ENTER> to terminate service.");
                Console.WriteLine();
                Console.ReadLine();
            }
        }