Пример #1
0
        private static void RunAsCommandLine()
        {
            ServerHost serverHost = new ServerHost();
            serverHost.Start();

            Console.ReadLine();
            serverHost.Stop();

            Console.ReadLine();
        }
Пример #2
0
        private static void RunAsCommandLine()
        {
            ServerHost serverHost = new ServerHost();

            serverHost.Start();

            Console.ReadLine();
            serverHost.Stop();

            Console.ReadLine();
        }