socket.inet_pton() is missing on some supported platforms (Python 2.7 on Windows). getaddrinfo() with AI_NUMERICHOST parses without resolving and is available everywhere. It also handles scoped IPv6 literals. |
||
|---|---|---|
| .. | ||
| client.py | ||
| server.py | ||
socket.inet_pton() is missing on some supported platforms (Python 2.7 on Windows). getaddrinfo() with AI_NUMERICHOST parses without resolving and is available everywhere. It also handles scoped IPv6 literals. |
||
|---|---|---|
| .. | ||
| client.py | ||
| server.py | ||