Thank you for the reply.. I found the problem... and I created it.. I
was disconnecting from the LDAP connection any time I received an error
condition back in my error checking and reporting method.  However this
is not the behavior I want all as I do expect some "not found" results
which are returned as errors so I was creating the condition myself.
Fixed it... and I'm glad that I did not have to dig into the IO::Socket
because that's where I was heading next.

Robert Zumwalt

-----Original Message-----
From: Chris Ridd [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 28, 2008 10:26 AM
To: Zumwalt, Robert
Cc: perl-ldap@perl.org
Subject: Re: Connection dropping?


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

E-MAIL CONFIDENTIALITY NOTICE: 

 

 

 

The contents of this e-mail message and 
any attachments are intended solely for the 
addressee(s) and may contain confidential 
and/or legally privileged information. If you 
are not the intended recipient of this message 
or if this message has been addressed to you 
in error, please immediately alert the sender
 by reply e-mail and then delete this message 
and any attachments. If you are not the 
intended recipient, you are notified that 
any use, dissemination, distribution, copying, 
or storage of this message or any attachment 
is strictly prohibited.







Reply via email to