On 17/3/05 9:03 pm, Chris Masters <[EMAIL PROTECTED]> wrote:

> Hi All,
> 
> A pesky firewall is closing connections silently after
> a period of inactivity. When my client calls search it
> hangs.
> 
> What's the best way to place a timeout on the search
> call? In C, I would use an alarm signal or select(2).
> 
> Thanks for any help on this.

Does setting SO_KEEPALIVE on the socket help at all? You can get the socket
object using $ldap->socket.

Cheers,

Chris


Reply via email to