Changes for version 0.09

  • Attempt to implement IPV6_V6ONLY sockopt wrapper - not all OSes can disable it, so detect and skip those
  • Provide ->sockaddr and ->peeraddr convenience accessors, same as IO::Socket::INET (RT75071)
  • Use new NIx_NOHOST and NIx_NOSERV flags to avoid redundant getnameinfo() lookups when only one of host or service name is required
  • Ensure that errno gets set to EINVAL on getaddrinfo() failures
  • BUGFIXES:
    • Ignore existing-but-undefined constructor arguments
    • Avoid locale-specific error message testing of $!
    • Updates to unit tests for cygwin

Modules

A drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6