1Net::INET6Glue::INET_isU_sIeNrETC6o(n3t)ributed Perl DocNuemte:n:tIaNtEiTo6nGlue::INET_is_INET6(3)
2
3
4
6 Net::INET6Glue::INET_is_INET6 - make IO::Socket::INET behave like
7 IO::Socket::INET6
8
10 use Net::INET6Glue::INET_is_INET6;
11 use LWP::Simple;
12 print get( 'http://[::1]:80' );
13 print get( 'http://ipv6.google.com' );
14
16 Many modules directly create IO::Socket::INET sockets or have it as a
17 superclass. Because IO::Socket::INET has no support for IPv6 these
18 modules don't have it either.
19
20 This module tries to make IO::Socket::INET behave like IO::Socket::IP
21 (with fallback to IO::Socket::INET6) by copying the symbol table from
22 IO::Socket::IP into IO::Socket::INET. The original symbol table from
23 IO::Socket::INET is still available in IO::Socket::INET4.
24
25 This strategy works for Net::SMTP, LWP and probably a lot of other
26 modules too, which don't try to depend too much on the innards of
27 IO::Socket::INET or on the text representation of IP addresses (IPv6
28 addresses look different than IPv4 addresses).
29
31 This module is copyright (c) 2008..2014, Steffen Ullrich. All Rights
32 Reserved. This module is free software. It may be used, redistributed
33 and/or modified under the same terms as Perl itself.
34
35
36
37perl v5.32.0 2020-07-28 Net::INET6Glue::INET_is_INET6(3)