> Yes. Hence the correct solution would be non-blocking with select()... > > Best regards, > Lutz
How do you determine (portably) if the socket you got from 'socket' is inside the legal range for FD_SET? Many platforms, including Linux, will happilly allow 'socket' to return values that are way out of range for FD_SET. And FD_SET has no error return. This will cause crashes on, for example, Linux applications that use more than 1,024 sockets. I bet that covers things like web servers that use OpenSSL. DS ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]