()
| 32 | listener.settimeout(0) |
| 33 | |
| 34 | def try_connect(): |
| 35 | global conn, addr, listener |
| 36 | try: |
| 37 | conn, addr = listener.accept() |
| 38 | print(f"\nConnected by {addr}") |
| 39 | conn.settimeout(None) |
| 40 | except Exception as inst: |
| 41 | pass |
| 42 | |
| 43 | def read(): |
| 44 | global conn |
nothing calls this directly
no outgoing calls
no test coverage detected