Devendra Badhani wrote: > Hi, > > I am using version 3.0 of netscape ldap sdk on linux. I am > using the "async" APIs and seems like "ldap_simple_bind" is > not really async. I traced down the source code and found > the "blocking" connect call. So the questions follow : > > - Is there a way to force SDK to use "non-blocking" socket > operations? > > - In the newer versions of the netscape sdk, have they > incorporated any API to accomplish a real "async" bind? > > - Is there any other ldap sdk available which provides this > feature?
Have you tried the LDAP_OPT_ASYNC_CONNECT option or the LDAP_X_OPT_CONNECT_TIMEOUT option (available in recent Mozilla LDAP C SDK releases)? -- Mark Smith AOL Strategic Business Solutions My words are my own, not my employer's.
