Pike v8.1 release 6

Method Protocols.Bittorrent.DHT()->add_peer_for_hash()


Method add_peer_for_hash

void add_peer_for_hash(Peer n, string hash, string ip, int port)

Description

Insert a peer for a hash in our table of known peers. Ignores the request if the given node is already a peer for the given hash.