Re: timeout on ldap_simple_bind_s()

Anton Bobrov <[email protected]> Tue, 15 Sep 2009 18:34:50 +0200
Newsgroups gmane.comp.mozilla.devel.directory
Organization Sun Microsystems, Inc.
Message-ID <[email protected]>
Xu, Qiang (FXSGSC) wrote:

> Then, in what case, do you think the timeout parameter in
> ldap_result() will take effect, in conjunction with the
> async ldap_simple_bind()?

when you already sent your request to the server [ldap_simple_bind()]
and polling for LDAP server response with ldap_result(). the timeout
you specify in ldap_result() does not affect request API calls in any
way, it only applies to response processing ie ldap_result() itself.