Hi,

On Wednesday, 5. March 2014 11:32:52 Paul LeoNerd Evans wrote:
> On Wed, 05 Mar 2014 11:31:29 +0100 Peter Marschall <pe...@adpm.de> wrote:
> > Paul,
> > from the mail above, I get it that Timeout is working in
> > IO::Socket::IP. Can you confirm?
> > Additionally, may I ask you to add Timeout to the documentation?
> 
> Ah yes; this is actually down to a misunderstanding on my part.
I'm glad I am not the only one ;-))

> Originally I had presumed that IO::Socket::IP would have to implement
> the "Timeout" option, because IO::Socket::INET lists it in its
> documentation. However, on reading the source code I discovered
> that ::INET doesn't implement it; the code to actually implement that
> option appears entirely within IO::Socket itself, which ::INET
> inherits from. Because ::IP is also a subclass of plain IO::Socket, it
> automatically inherits the Timeout option.
Ah, that makes it clear.

> Ideally core's documentation should be changed to document Timeout in
> IO::Socket rather than IO::Socket::INET, which would also solve this
> issue.
Until that happens, why not adding it to the IO::Socket::IP POD (to have
it  more complete)? Please?!

> But long story short: IO::Socket::IP supports the Timeout option in the
> same way that IO::Socket::INET documents for itself.
Thanks for the clarification.

I guess it is time for a new version of perl-ldap with IO::Socket::IP n the 
next days.

Thanks
Peter

-- 
Peter Marschall
pe...@adpm.de

Reply via email to