I am writing a UNIX client.

Skeleton of my client looks like
-call ldap_search()
-poll() on the socket descriptor
 which I obtained by calling ldap_get_option()
-when poll returns call ldap_result() to process the results

Now lets say the server only sent part of the results. In this case the poll
returns, but when I call poll() again hoping it to return when the rest of
the results come in, it doesn't.
It looks like poll would return only once per search request.
Is there a secret to this ? What I could I do to make poll return whenever
the client receives something.



Reply via email to