Esempio n. 1
0
 public override void HandlePeerConnected(PeerId id, MonoTorrent.Common.Direction direction)
 {
     if (!ShouldConnect(id))
     {
         this.Manager.Engine.ConnectionManager.CleanupSocket(id);
     }
     base.HandlePeerConnected(id, direction);
 }
Esempio n. 2
0
 public override void HandlePeerConnected(PeerId id, MonoTorrent.Common.Direction direction)
 {
     if (!ShouldConnect(id))
     {
         id.CloseConnection();
     }
     base.HandlePeerConnected(id, direction);
 }
Esempio n. 3
0
 public override void HandlePeerConnected(PeerId id, MonoTorrent.Common.Direction direction)
 {
     id.CloseConnection();
 }