blob: 6532a580e23ae694f25f8e27ca065215e56c68ec (
plain)
1
2
3
4
5
6
|
- use POSIX getaddrinfo/getnameinfo as they provide a good top-level interface which
is quite portable (even on Windows)
Good code examples:
- UNPV12e of W. Richard Stevens (Unix Network Programming), the must-read
- postgresql has a good getaddrinfo replacement for Windows and Cygwin
|