Changes for version 0.19_004

  • Provide Exporter tags for named constants
  • Bugfix for non-C99 compilers - avoid C99-style struct initialiser
  • Bugfix for threaded perls - aTHX/pTHX in err_to_SV()

Changes for version 0.19_003

  • Split Socket6api into its own module
  • Moved XS code to Socket::GetAddrInfo::XS
  • Use ppport.h
  • Emulate AI_NUMERICSERV in PP emulation since most OSes in practice support it, even though RFC 2553 doesn't define it

Changes for version 0.19_002

  • Don't even attempt to build XS code if no C compiler is available
  • Moved legacy resolver emulation code into its own PP.pm for code neatness

Changes for version 0.19_001

  • Always attempt to build XS code and load it at runtime, use presence of &getaddrinfo to detect if native support exists or whether to use legacy fallback
  • Avoid Test::Exception and Test::Warn as they're non-core and pull in Sub::UpLevel

Modules

RFC 2553's getaddrinfo and getnameinfo functions.
Pure Perl emulation of getaddrinfo and getnameinfo using IPv4-only legacy resolvers
Provide Socket::GetAddrInfo functions using Socket6 API

Provides

in lib/Socket/GetAddrInfo/XS.pm

Examples