コード例 #1
0
 static void Main(string[] args)
 {
     try
     {
         Server       = new ServerObject();
         ListenThread = new Thread(new ThreadStart(Server.Listen));
         ListenThread.Start();
     }
     catch (Exception ex)
     {
         Server.Disconnect();
         Console.WriteLine(ex.Message);
     }
 }