Пример #1
0
        public static void Main()
        {
            CServer cs = new CServer();

            cs.StartListener();
            cs.GetNetworkStream();
            string msg = cs.Communicate();

            cs.ReleaseAll();
            System.Console.WriteLine(msg);
        }
Пример #2
0
        static void Main(string[] args)
        {
            CServer server = new CServer();

            server.Run();
        }