Pike v8.1 release 6

Class Protocols.Bittorrent.DHT()->FindNode

Inheritance graph
Protocols.Bittorrent.DHT.DHTOperation Protocols.Bittorrent.DHT.FindNode
Description

FindNode implements the find_node query on the DHT.

Upon completion, the callback given at instance creation will be called and the result can be found in the results array.

For this operation, the results array will contain Node objects. In some cases these objects may also be DHTNode objects, but the callback must not expect this.


Variable desired_results

int Protocols.Bittorrent.DHT.FindNode.desired_results

Description

Override the default number of desired results


Inherit DHTOperation

inherit DHTOperation : DHTOperation