> -----Original Message-----
> From: Peter Marschall [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, May 13, 2007 5:53 AM
> To: perl-ldap@perl.org
> Subject: Re: IPv6
> 
> Hi,
> 
> On Monday, 30. April 2007 20:50, [EMAIL PROTECTED] wrote:
> > Are there any plans to add IPv6 support to Net::LDAP?
> 
> I cannot test it, but I would have assumed it is already in
> provided modules that Net::LDAP uses (IO::Socket e.g.) support it.
> 
> Are there pieces of code in perl-ldap that should support IPv6,
> but corrently don't?

Peter,

My understanding is that IPv6 support is added to IO::Socket by a
separate module, IO::Socket::INET6, which in turn uses Socket6 which is
an add-on module to the standard Socket module.

So where LDAP.pm now calls IO::Socket::INET, it would need to call
IO::Socket::INET6. The new INET6 Domain argument already defaults to
AF_UNSPEC, so I don't believe that needs to be specified; though, for
testing purposes, it might be nice if Net::LDAP externalised it.

Any, or all, of the above might be total rubbish... :)

Steve.

Reply via email to