LDAP list digest wrote:
Subject: asynchronous search->client program not ready to receive results-> 
will LDAP client buffer results?
From: "qazmlp" <[EMAIL PROTECTED]>
Date: Wed, 6 Sep 2006 10:10:53 -0400

Assume I trigger an asynchronous search towards the openLDAP server, from
the openLDAP client(myClient).  Then my openLDAP client program will sleep
for 10 mins without performing any tasks. After that it will try to read
the result for the asynchronous search which it triggered before. Is it
guaranteed that the result will be delivered to the client(myClient)?

Since LDAP is defined to operate over TCP, and TCP guarantees in-order delivery of data, you can generally assume yes.

As I am aware, from the LDAP server point of view, there are absolutely no
differences between the synchronous and asynchronous search requests. The
difference lies only at the LDAP client(openLDAP client implementation).
Am I right? If yes, will the openLDAP client take care of buffering the
data till the myClient program is ready for reading the search results?

Buffering occurs in at least 3 places - the client's TCP stack, the server's TCP stack, and the LDAP server. It may also occur in the LDAP client but generally that's unnecessary since the TCP stack is already buffering. The OpenLDAP client library doesn't buffer anything for asynchronous searches.
--
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/

---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to