This function clones getaddrinfo for systems that don't have it. For full
details, see RFC 3493, section 6.1.
Limitations:
- When the system has no getaddrinfo, we fall back to gethostbyname_r or
gethostbyname, with their attendant issues.
- The AI_V4MAPPED and AI_ALL flags are not currently implemented.
This function clones getaddrinfo for systems that don't have it. For full details, see RFC 3493, section 6.1.
Limitations: - When the system has no getaddrinfo, we fall back to gethostbyname_r or gethostbyname, with their attendant issues. - The AI_V4MAPPED and AI_ALL flags are not currently implemented.
For a nonblocking variant, see evdns_getaddrinfo.