Kurt D. Zeilenga writes:
At 02:26 PM 12/1/2004, Hallvard B Furuseth wrote:
Some other wishes - not sure of what you'd think of as part of one of
the other APIs, and what you'd think of as a separate API:
- Event loop support:
Ability to plug ldap into an event loop, so e.g. incoming LDAP
results provide events.
First, the LDAP encoding API would provide access to encoded
PDUs. The client would not be required to use our sockbuf
library.
I don't see how that makes any difference, if one must still call the
library to check if there is a new LDAP response available. To wait for
e.g. next <LDAP response or input to some other socket>, one needs to
select() on something, so one needs to know which file descriptors to
select() on. Thus: