def __init__(self, client, ip, port): Thread.__init___(self) self.client = client self.ip = ip self.port = port