Re: IO::Socket::IP for perl-ldap?
Michiel Beijen <[email protected]> Wed, 5 Mar 2014 10:17:12 +0100
| Newsgroups | gmane.comp.lang.perl.modules.ldap |
|---|---|
| Message-ID | <CABD0r10m0TAsTO9+TZO_jxxsbGwgUQWaCeGZLU3-Vr=JhF0=MQ@mail.gmail.com> |
Hi Peter, On Tue, Mar 4, 2014 at 7:56 PM, Peter Marschall <[email protected]> wrote: > > with IO::Socket::IP becoming more and more widespread (it is said to become a > part of the standard modules shipped with Perl 5.20), I am wondering i should > switch perl-ldap over to it too? > > My idea is to prefer IO::Socket::IP over IO::Socket::INET6 if the former one > is installed, but fall back to the latter if it isn't. A very good idea! > But there's a downside too: > With IO::Socket::IP, the option Timeout to Net::LDAP->new() will be ignored. I asked Paul (cc) about this and he replied "In what sense do you believe the "Timeout" option doesn't work? It works exactly the same in IO::Socket::IP as it does in IO::Socket::INET or indeed IO::Socket itself." and I think this is a fair question! There is also no bug in the RT for IO::Socket::IP about any issue. What is the exact problem you see? -- Mike