Esempio n. 1
0
 public void Stop()
 {
     lock (this)
     {
         rttask.Stop();
         uc.Close();
         fstr.Close();
     }
 }
Esempio n. 2
0
 public static void Stop()
 {
     mainthread.Abort();
     udpsock.Close();
     foreach (RDTSender s in AClients.Values)
     {
         s.Stop();
     }
     AClients.Clear();
     cleaner.Stop();
 }