コード例 #1
0
 public void Close()
 {
     ListenerUp = false;
     foreach (TcpClient thisClient in ClientTcpClients)
     {
         thisClient.Close();
     }
     foreach (Thread ClientThread in ClientThreads)
     {
         ClientThread.Interrupt();
     }
     Game.NetworkUp = false;
     DropIPV6UPNP();
     DropIPV4UPNP();
     Dispose();
 }