GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::INET6Glue::INET_is_INET6(3) User Contributed Perl Documentation Net::INET6Glue::INET_is_INET6(3)

Net::INET6Glue::INET_is_INET6 - make IO::Socket::INET behave like IO::Socket::INET6

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

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).

This module is copyright (c) 2008..2014, Steffen Ullrich. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.
2014-01-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.