public override void HandlePeerConnected(PeerId id, System.Net.BitTorrent.Common.Direction direction) { if (!ShouldConnect(id)) { id.CloseConnection(); } base.HandlePeerConnected(id, direction); }
public override void HandlePeerConnected(PeerId id, System.Net.BitTorrent.Common.Direction direction) { id.CloseConnection(); }