> This seems to work for me. The thing is to reset you have to save the
> timeout
> value since 'infinite' timeout was represented by different valuse on NT and
> Win95. Havent tested on Win98.
>
> /Per
>
> // Save timeout since default value differs between NT and Win95
> t0s=sizeof(t0);
> getsockopt(s,SOL_SOCKET,SO_RCVTIMEO,(char *)&t0,&t0s);
>
> t=TIMEOUT;
> setsockopt(s,SOL_SOCKET,SO_RCVTIMEO,(char *)&t,sizeof(t));
Which versions of Winsock support these values on which OS?
Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
The Kermit Project * Columbia University
612 West 115th St #716 * New York, NY * 10025
http://www.kermit-project.org/k95.html * [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
- Re: How to timeout a SSL_connect? Bodo Moeller
- How to timeout a SSL_connect? Alice Joseph
- How to timeout a SSL_connect? Alice Joseph
- Re: How to timeout a SSL_connect? Sean Walker
- Re: How to timeout a SSL_connect? Brad Asztalos
- Re: How to timeout a SSL_connect? Alexey Melnikov
- Re: How to timeout a SSL_connect? Per Nilsson
- Re: How to timeout a SSL_connect? Bodo Moeller
- Re: How to timeout a SSL_connect? Alexey Melnikov
- Re: How to timeout a SSL_connect? Nicolas Roumiantzeff
- Re: How to timeout a SSL_connect? Jeffrey Altman
- Re: How to timeout a SSL_connect? Per Nilsson
- Re: How to timeout a SSL_connect? Sean Walker
- Re: How to timeout a SSL_connect? Sean Walker
- Re: How to timeout a SSL_connect? Per Nilsson
- Re: How to timeout a SSL_connect? Jeffrey Altman
- Re: How to timeout a SSL_connect? Per Nilsson
- Re: How to timeout a SSL_connect? Jeffrey Altman
- Re: How to timeout a SSL_connect? Jeffrey Altman
