Pike v8.1 release 6

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


Method generate_token_for

Token generate_token_for(string ip, int port, void|int dont_sha1)

Description

Generate a token for a specific node. If it fails to generate a unique token for this request, it will return UNDEFINED, otherwise a string token is returned.