Beispiel #1
0
 public void Shutdown()
 {
     if (listenSocket != null)
     {
         listenSocket.Close();
     }
 }
Beispiel #2
0
 public void Shutdown()
 {
     if (listenSocket != null)
     {
         SteamNetworkingSockets.OnConnectionStatusChanged -= OnConnectionStatusChanged;
         listenSocket.Close();
     }
 }