Sean Walker wrote:
> >That's what I was going to do too, but under Win32 you can't set the
> All of my research has said the same thing. I couldn't set the timeouts. If
> you can manage to figure it out, please post your solution! :)
>
> Sean Walker
> Dingbat Designs
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> Development Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
I haven't done this myself but I imagine what you do is set the socket to
non-blocking after the BSD connect()
returns and then initiate the handshake as in s_client.c; you then have to
control the handshake process
in a loop as demonstrated in s_client.c, except where select() is used with a
NULL time_val you need to substitute and
tick off the elapsed time every time you enter select(). I don't see any
objections to this, however, perhaps this will just
stimulate someone else to show what a fool I am.
(If you want to timeout the BSD connect() see pp. 409-413 of Stevens Network
Programming)
Brad
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]