On 28 Feb 2008, at 14:13, Zumwalt, Robert wrote:

I have a module which makes several sequential calls to the LDAP server
and after the first 10-15 calls my connection seems to be getting
dropped.



Is there a method in net::ldap which allows me to check the state of the
connection to see if it is still good before attempting to reuse it?

Not one directly that I can think of, but if you grab the socket using $ldap->socket() there may be some IO::Socket methods you can use on it.

Cheers,

Chris

Reply via email to