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

diff between synch & asynch



Hi,
 
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...)
 
Actually,
I wrote two LDAP clients. They both just do :
1.Init
2.Bind
3.Search (search for the whole tree)
4.Unbind
 
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
Regards,
Sam