> Now the problem is before the connection is established. > Select is based on the file descriptor. Looks like I can't get > the file descriptor before the connect. > FD_SET(BIO_get_fd(conn, &c), &rfds) BIO_get_fd > returns null. what did I do wrong?
You should not be calling 'select' until told to. That is, *after* the connect. Until you start the connection process, there is nothing to wait for. DS ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]