Method Protocols.Bittorrent.DHT()->Token()->valid_for()
- Method valid_for
int
valid_for(string
ip
,int
port
)- Description
Checks if a token is valid for a given node. This is done by checking that we handed out the token to the IP/port that attempts to use it.