> OK I implemented the sample source code as provided and it works fine.
> Thanks a million! I guess I "must" use this hack. So be it.
> Thanks again for all you're help I learned a lot.
>
> I hope the OpenSSL maintainers heard this cry (even if it is a small
> cry) and will at some point decide to use a better method than select.
>
> Cheers
> Leon

        A patch to use 'poll' instead of 'select' where it's available would be 
a
very good idea. Using 'select' to check readiness of a single descriptor
that you just opened is about the worst-case scenario for 'select' (because
it has to scan through all the unset bits on each set). Using 'poll' is far
more efficient for a single descriptor since no scanning is needed.

        DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to