Pike v8.1 release 6

Method Protocols.Bittorrent.DHT()->Routingtable()->Bucket()->add_node()


Method add_node

int add_node(DHTNode n, void|int dont_notify)

Description

Attempts to add a node to the bucket either as a live node or as a candidate if the bucket is already full. Optionally supresses notifications of the new node. Returns 0 if the node was successfully added.