Pike v8.1 release 6

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


Method announce

void announce(string hash, int port)

Description

Announce a hash to the world on the given port.

This is done by executing a get_peers request to the DHT and then announcing to the K closest nodes to that hash.