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

RE: diff between synch & asynch

There is no difference in the protocol. The distinction only exists in the API for the
sake of programming convenience.

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

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Samuel Osouf
Sent: Monday, July 15, 2002 4:49 PM
To: openldap-software@OpenLDAP.org
Subject: diff between synch & asynch

What are the EXACT differences between synchronous and
asynchronous operations (I mean what client and server send each other) ??
My sniffer couldn't tell me, and rfcs ...
Can anyone give me examples were there are differences ?
(source code with ethereal capture, for exple...)
I wrote two LDAP clients. They both just do :
3.Search (search for the whole tree)
The only difference is that the Search operation is made by
ldap_search_ext() and ldap_search_ext_s(), that is synchronous
and Asynchronous functions, and the ldap_result() & co. that
come with it...
I used these two clients and put a sniffer on my local network.
I expected to see differences in the client-server dialogue, BUT THE TCP FRAMES WERE EXACTLY THE SAME !!?? (server sending this, client sending that, same number of frames...)
Thanks for answering my two questions