def __init__(self, port):
     self.port = int(port)
     self.sock = true_socket(socket.AF_INET, socket.SOCK_STREAM)
     self.sock.connect(('localhost', self.port))
Exemple #2
0
 def __init__(self, port):
     self.port = int(port)
     self.sock = true_socket(socket.AF_INET, socket.SOCK_STREAM)
     self.sock.connect(('localhost', self.port))