(16 . 6)(16 . 7)
1935 self.address = peer_entry["address"]
1936 self.port = peer_entry["port"]
1937 self.socket = socket
1938 self.forked = peer_entry.get("forked")
1939
1940 def get_key(self):
1941 if len(self.keys) > 0:
(27 . 9)(28 . 6)
1943 if self.get_key() != None and self.address != None and self.port != None:
1944 try:
1945 self.socket.sendto(signed_packet_bytes, (self.address, self.port))
1946 logging.debug("[%s:%d] <- %s" % (self.address,
1947 int(self.port),
1948 binascii.hexlify(signed_packet_bytes)[0:16]))
1949
1950 except Exception as ex:
1951 stack = traceback.format_exc()