> 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]

Reply via email to