Re: IO::Socket and IPv6

[email protected] (Graham Barr)
Newsgroups perl.ldap
Message-ID <[email protected]>
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/hosts is ordered in one way, the Perl inet_aton function correctly resolves the IPv4 address.  If /etc/hosts is ordered another way, the Perl inet_aton function fails to resolve the hostname *at all*.  This to me is a bug.

Ah, yes. I agree that is a bug.

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