The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.21_003

  • Make more of the AI_* and NI_* flags #ifdef-guarded, for OSes that don't provide them
  • Docs improvements - added some code examples

Changes for version 0.21_002

  • Implement NIx_NOHOST and NIx_NOSERV; flags to getnameinfo to request only one of host or service name
  • No longer supports API import tags

Changes for version 0.21_001

  • 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

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