Pike v8.1 release 6

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


Method send_dht_query

string send_dht_query(string to, int dstport, mapping data, void|function(:void) response_callback, mixed ... args)

Description

Sends a DHT query and calls the callback when a response is recieved or when a timeout occurs.