(ip, port)
| 523 | |
| 524 | |
| 525 | def connect_dst(ip, port): |
| 526 | debug2('Connecting to %s:%d\n' % (ip, port)) |
| 527 | outsock = socket.socket() |
| 528 | outsock.setsockopt(socket.SOL_IP, socket.IP_TTL, 42) |
| 529 | return SockWrapper(outsock, outsock, |
| 530 | connect_to = (ip,port), |
| 531 | peername = '%s:%d' % (ip,port)) |
| 532 | |
| 533 | |
| 534 | def runonce(handlers, mux): |
nothing calls this directly
no test coverage detected