Beispiel #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);
 }
Beispiel #2
0
 public override void HandlePeerConnected(PeerId id, MonoTorrent.Common.Direction direction)
 {
     if (!ShouldConnect(id))
     {
         id.CloseConnection();
     }
     base.HandlePeerConnected(id, direction);
 }
Beispiel #3
0
 public override void HandlePeerConnected(PeerId id, MonoTorrent.Common.Direction direction)
 {
     id.CloseConnection();
 }