G | |
get_nodes [Dht] |
This retrieves the list of known good nodes, starting with the nodes in our
own bucket.
|
I | |
init [Dht] |
This must be called before using the library.
|
insert_node [Dht] |
This is a softer bootstrapping method, which doesn't actually send a query
-- it only stores the node in the routing table for later use.
|
N | |
nodes [Dht] |
This returns the number of known good, dubious and cached nodes in our
routing table.
|
P | |
periodic [Dht] |
This function should be called by your main loop periodically, and also
whenever data is available on the socket.
|
ping_node [Dht] |
This is the main bootstrapping primitive.
|
S | |
search [Dht] |
This schedules a search for information about the info-hash specified in
~id .
|