Re: IO::Socket and IPv6

[email protected] (Quanah Gibson-Mount)
Newsgroups perl.ldap
Message-ID <AC206623FDFDF833C0B85F4F@[192.168.1.2]>
--On Wednesday, March 02, 2011 9:56 PM -0600 Graham Barr <[email protected]> 
wrote:

> Hm, I wonder if we should just select the default connecting class by
>
> my $connect_class = eval { require IO::Socket::INET6 } ?

I modified LDAP.pm to only use IO::Socket::INET6, and regardless of IPv4 
only or IPv4 + IPv6, it worked with no issue.  So this does work well as a 
workaround.

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.