Beispiel #1
0
 def connect(self):
     from zombie.common import CLIENT_CODES, pack_host
     
     self.send(bytes((CLIENT_CODES['connect'],)) + pack_host(self.receive_ip, self.receive_port))
 def test_pack_unpack_host(self):
     pack_host()