Author image Paul Evans

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

command-line tool to getaddrinfo(3) resolver
command-line tool to getnameinfo(3) resolver

Modules

address-family independent name resolving functions
Pure Perl emulation of getaddrinfo and getnameinfo using IPv4-only legacy resolvers
Provide Socket::GetAddrInfo functions using Socket6 API
Provide Socket::GetAddrInfo functions which throw exceptions

Provides

in lib/Socket/GetAddrInfo/Core.pm
in lib/Socket/GetAddrInfo/XS.pm