I've attempted to reuse the header files in s_client.c which have used similar select() functionality for quite a while.
If this still doesn't work properly on all systems I'd suggest using something similar to s_client.c, s_server.c or speed.c Let me know of any problems. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]