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

Changes for version 0.19_008

  • Added bin/getnameinfo script
  • Added POD docs to both bin/* scripts to turn them into real manpages
  • BUGFIXES:
  • #include config.h from the right path so it actually works

Changes for version 0.19_007

  • Neatened up examples/gai.pl; turned into real bin/getaddrinfo script that gets installed
  • More robust Socket-vs-Socket6 implementation
  • Also include config.h in smoke test diagnostics

Changes for version 0.19_006

  • Try to use core's Socket::getaddrinfo if it exists; as it does on Socket 1.93 (perl 5.13.9).

Changes for version 0.19_005

  • More MSWin32 fixes
  • Older perls don't have croak_xs_usage; just use croak instead
  • Moved XS code back to primary basename
  • Use ExtUtils::CChecker 0.06's ability to write a config.h rather than using C commandline -DFOO that might not be portable

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

Documentation

command-line tool to getaddrinfo(3) resolver

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/Core.pm
in lib/Socket/GetAddrInfo/XS.pm