def get_peers(self, infohash, callback): log_msg("Sending DHT get peers message", 4, "dht") response = _make_callback(callback) UTKhashmir.get_peers(self, infohash, response)
def get_peers(self, infohash, callback): log_msg("Sending DHT get peers message", 4, "dht") response = _make_callback(callback) UTKhashmir.get_peers(self, infohash, response)
def get_peers_and_announce(self, infohash, port, callback): log_msg("Sending DHT get peers and announce messages", 4, "dht") response = _make_callback(callback) #UTKhashmir.get_peers_and_announce(self, infohash, port, response) UTKhashmir.get_peers(self, infohash, response)
def get_peers_and_announce(self, infohash, port, callback): log_msg("Sending DHT get peers and announce messages", 4, "dht") response = _make_callback(callback) #UTKhashmir.get_peers_and_announce(self, infohash, port, response) UTKhashmir.get_peers(self, infohash, response)