[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Way to do non-blocking ldap connect ?
- To: openldap-software@OpenLDAP.org
- Subject: Way to do non-blocking ldap connect ?
- From: Ulka Ranadive <ulka_r@yahoo.com>
- Date: Thu, 14 Jul 2005 20:52:00 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=E+HZIwRifKaj/3hKQfhFdx42KjhNTTxuxWXEJk6aM33oauYd6CKLXo7rtbHmbJL9fTfs8xw+O7WU3J2LbgZzu59eOeeKCpKW89ctWPKkl2DrnwShKEGmaGYZGegVaZs+hNpxiMYz3bWEckdqKsC3XFPBxWixbiidH/R0RM0ZPj8= ;
Hi all,
Is there a way to open a LDPA connection in a
non-blocking mode?
As I understand, ldap_open is a blocking call, is that
correct?
I was hoping I could -
1. Open a socket in non-blocking mode
2. Make a connection
3. Call ldap_init
4. Set the socket fd using ldap_set_option
(LDAP_OPT_DESC..)
5. Call ldap_bind
6. ...
Howevever, I see that I cannot set the socket fd using
ldap_set_option (LDAP_OPT_DESC, ..), socket fd seem to
be read-only in the openLdap-2.2.20 & openLdap-2.2.23
Any idea, how to get around this problem ?
Thanks,
-Ulka
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com