Elijah has asked for the wisdom of the Perl Monks concerning the following question:

Is there currently IPv6 support in Perl 5.8.4 build 810? If so what modules, if any, are required to setup an IPv6 socket for network programming? Does anyone have any, or know of any decent examples of Perl apps written for IPv6?

www.perlskripts.com

Replies are listed 'Best First'.
Re: IPv6 in perl 5.8.4?
by iburrell (Chaplain) on Jun 29, 2004 at 16:31 UTC
    There is IO::Socket::INET6, which is like IO::Socket::INET but for IPv6.

    One big problem is that most the networking modules can only use IO::Socket::INET and IPv4. They inheirit from IO::Socket::INET instead of encapsulating a socket object. This makes it more difficult to use IPv6 or SSL sockets.

Re: IPv6 in perl 5.8.4?
by dragonchild (Archbishop) on Jun 29, 2004 at 15:40 UTC
    Perl itself has no support for any protocol (outside of a few older functions). That support is provided completely within modules, such as IO::Socket for networking. I would read the documentation for those modules you intend to use in order to see if they have IPv6 support. I would be surprised if they didn't.

    Many people who use IPv6 are also using Apache, which does have support for IPv6.

    ------
    We are the carpenters and bricklayers of the Information Age.

    Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

    I shouldn't have to say this, but any code, unless otherwise stated, is untested