public static void TearDown()
 {
     if (server != null)
     {
         server.Stop();
     }
     if (udpclient != null)
     {
         udpclient.Stop();
     }
 }
예제 #2
0
 public void CleanUpServer()
 {
     if (udpServer != null)
     {
         udpServer.Stop();
     }
     if (udpClient != null)
     {
         udpClient.Stop();
     }
     if (udpClient2 != null)
     {
         udpClient2.Stop();
     }
 }
예제 #3
0
        public void CleanUpServer()
        {
            if (udpServer != null)
            {
                udpServer.Stop();
            }
            if (udpClient != null)
            {
                udpClient.Stop();
            }
            if (udpClient2 != null)
            {
                udpClient2.Stop();
            }

            UDPObjectTransportChannel.TearDown();
        }