(wish_host, wish_port)
| 24 | listener = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |
| 25 | |
| 26 | def init(wish_host, wish_port): |
| 27 | global host, port, listener |
| 28 | host = wish_host |
| 29 | port = wish_port |
| 30 | listener.bind((host, port)) |
| 31 | listener.listen() |
| 32 | listener.settimeout(0) |
| 33 | |
| 34 | def try_connect(): |
| 35 | global conn, addr, listener |
nothing calls this directly
no outgoing calls
no test coverage detected