Changes for version 0.22
- Move most exports into @EXPORT_OK
- Provide exception-throwing version of API in Socket::GetAddrInfo::Strict
- Wrap lots more flag constants
- AI_IDN, AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG
- NI_IDN, NI_NOFQDN
- EAI_SYSTEM, EAI_BADHINTS, EAI_PROTOCOL
- Implement NIx_NOHOST and NIx_NOSERV; flags to getnameinfo to request only one of host or service name
- No longer supports API import tags
- Docs improvements - added some code examples
Documentation
- getaddrinfo - command-line tool to getaddrinfo(3) resolver
- getnameinfo - command-line tool to getnameinfo(3) resolver
Modules
- Socket::GetAddrInfo - address-family independent name resolving functions
- Socket::GetAddrInfo::Emul - Pure Perl emulation of getaddrinfo and getnameinfo using IPv4-only legacy resolvers
- Socket::GetAddrInfo::Socket6api - Provide Socket::GetAddrInfo functions using Socket6 API
- Socket::GetAddrInfo::Strict - Provide Socket::GetAddrInfo functions which throw exceptions
Provides
- Socket::GetAddrInfo::Core in lib/Socket/GetAddrInfo/Core.pm
- Socket::GetAddrInfo::XS in lib/Socket/GetAddrInfo/XS.pm