Net::INET6Glue::INET_is_INET6(3pm)

Net::INET6Glue::INET_is_INET63pm

Make io::socket::inet behave like io::socket::inet6

Usage

 use Net::INET6Glue::INET_is_INET6;
 use LWP::Simple;
 print get( 'http://[::1]:80' );
 print get( 'http://ipv6.google.com' );

Overview

Many modules directly create IO::Socket::INET sockets or have it as a superclass. Because IO::Socket::INET has no support for IPv6 these modules don't have it either.

This module tries to make IO::Socket::INET behave like IO::Socket::IP (with fallback to IO::Socket::INET6) by copying the symbol table from IO::Socket::IP into IO::Socket::INET. The original symbol table from IO::Socket::INET is still available in IO::Socket::INET4.

This strategy works for Net::SMTP, LWP and probably a lot of other modules too, which don't try to depend too much on the innards of IO::Socket::INET or on the text representation of IP addresses (IPv6 addresses look different than IPv4 addresses).

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–10
  5. 11–13

From libnet-inet6glue-perl 0.604-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.