Exemplo n.º 1
0
 private void UpdatePeersList()
 {
     while (!IsStopped)
     {
         if (mPeers.NumConnection() < NOT_RESERVED_CONNECTION)
         {
             mPeers.DoRequest(ERequest.UpdatePeers);
         }
         Thread.Sleep(10000);
     }
 }