Re: IO::Socket and IPv6

2011-03-03 Thread Graham Barr
On Mar 3, 2011, at 13:21 , Quanah Gibson-Mount wrote: > > Hi Graham, > > I guess I haven't explained well enough. > > Net::LDAP passes IO::Socket::INET a hostname. A hostname that is configured > for both IPv4 and IPv6. The LDAP server is happily bound to both IPv4 and > IPV6. > > If /etc/h

Re: IO::Socket and IPv6

2011-03-03 Thread Quanah Gibson-Mount
--On Wednesday, March 02, 2011 9:56 PM -0600 Graham Barr 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 wo

Re: IO::Socket and IPv6

2011-03-03 Thread Quanah Gibson-Mount
--On Thursday, March 03, 2011 12:35 PM -0600 Graham Barr wrote: On Mar 3, 2011, at 12:03 , Quanah Gibson-Mount wrote: --On Wednesday, March 02, 2011 9:56 PM -0600 Graham Barr wrote: After a bit of debugging, the root problem is Perl's implementation of inet_aton. I've filed a bug with P

Re: IO::Socket and IPv6

2011-03-03 Thread Graham Barr
On Mar 3, 2011, at 12:03 , Quanah Gibson-Mount wrote: > --On Wednesday, March 02, 2011 9:56 PM -0600 Graham Barr > wrote: > >>> After a bit of debugging, the root problem is Perl's implementation of >>> inet_aton. I've filed a bug with Perl core. >> >> I think it is partly some fault of Net:

Re: IO::Socket and IPv6

2011-03-03 Thread Quanah Gibson-Mount
--On Wednesday, March 02, 2011 9:56 PM -0600 Graham Barr wrote: After a bit of debugging, the root problem is Perl's implementation of inet_aton. I've filed a bug with Perl core. I think it is partly some fault of Net::LDAP Net::LDAP will use IO::Socket::INET or IO::Socket::INET6 to connec