LDAPConnection timeout problem
Hello,
LDAPConnection(int M_timeout) timeout seems not work.
I expect the exception will be thrown if the connection to LDAP server is not alive for M_timeout seconds.
But it doesn't work, no matter what is the value of M_timeout, the connection timeout is same.
Can anyone know that how the LDAPConnection timeout can be setup at program?
Thanks.
|