Пример #1
0
 private static void Main()
 {
     try
     {
         _server       = new ServerObject();
         _listenThread = new Thread(_server.Listen);
         _listenThread.Start();
     }
     catch (Exception ex)
     {
         _server.Disconnect();
         Console.WriteLine(ex.Message);
     }
 }