This module is a wrapper for Socket(3) and Socket6(3), and is meant to
be used in lieu of using those packages directly. Doing so removes any of the
version dependent support issues on Perl and its bundled Socket(3) where
IPv6 is concerned.
Starting in Perl 5.12 the beginnings of IPv6 support emerged in the bundled
Socket(3) module, but full IPv6 support didnt arrive until 5.14. Prior
versions of Perl required the use of the external Socket6(3) module
(available on CPAN).
With this module IPv6 support, if available, is brought in automatically at
runtime, regardless of where that support is provided. It also makes a
default export of <B>inet_ptonB> and <B>inet_ntopB>, something that Socket(3)
only does on request.
Finally, this module provides a <B>has_ipv6B> function which will return whether
your Perl has full IPv6 support. Full support is determined by the presence
All of the regular tag sets provided by either <B>SocketB> modules are supported
by this module.