(self, host, port)
| 22 | |
| 23 | class Client(asyncore.dispatcher): |
| 24 | def __init__(self, host, port): |
| 25 | asyncore.dispatcher.__init__(self) |
| 26 | self.create_socket(socket.AF_INET, socket.SOCK_STREAM) |
| 27 | self.connect((host, port)) |
| 28 | self.buf = b'' |
| 29 | self.inbuf = b'' |
| 30 | self.callbacks = list() |
| 31 | self.client_id = 0 |
| 32 | self.get_client_id() |
| 33 | |
| 34 | def handle_connect(self): |
| 35 | pass |
nothing calls this directly
no test coverage detected