It's done on a per socket basis. The code snippet below will do it.

 int cmdArg = 1;
 ...
 ioctlsocket(sock, FIONBIO, &cmdArg);

You might want to reconsider with Windows/2000, however.  The send
perfomance of non-blocking sockets in Win/2k is terrible.

-----Original Message-----
From: Raja Said [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 11:34 AM
To: SSL_ORG (E-mail)
Subject: non-blocking


Hi,
        it could be not so relevant to the OpenSSL API, but it is
something
that i need to know
        and may be somebody would like to help me.
        how can i convert a WinSock to non blocking mode instead of
default
blocking mode?

thanx anyway.

Raja. 

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to