[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Asyncronous notification of a LDAP search result



> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Rand
 
> Is there any way to get the OpenLDAP libraries to asynchrosly notify my
> application that a (any) search result has returned to be processed?

Not sure about that.

> Either with a callback or even by simply writing to a pipe that I could
> put in a poll() or select() set?

If you're working with poll/select look at ldap_get_option() LDAP_OPT_DESC.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support