Anton Bobrov wrote:
folks,
can anybody clue me in on subj please? i can see its used to return
-1/error straight away, if ext i/o functions are undefined, instead
of even trying native i/o functions. what platforms and why is that
?
I am not sure if it was used for any other purpose, but the original use
was to avoid dependencies on the socket APIs on old MacOS systems (prior
to MacOS X). If I remember correctly, the #ifdefs were added by the
Netscape/Mozilla browser and/or email team (they never used the native
socket calls inside libldap because they made sure I/O callback
functions were always installed).
I am not sure if anyone #defines NSLDAPI_AVOID_OS_SOCKETS today or not.
-Mark
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap