On Wed, Feb 10, 1999 at 02:35:03PM -0000, Carl Burnside wrote:
> Is it possible to use SSL communications calls in a non-blocking fashion? I
> am trying to implement SSL on a VMS environment that currently uses a lot of
> asynchronous QIO calls. It appears that the existing SSL library consists
> of socket style synchronous calls - or am I failing to understand it all.
> Any pointers welcomed :-)
fcntl(fd, F_SETFL, O_NONBLOCK);
This means that your reads & writes will return instantly.
select() can also be used to determine how much stuff is waiting in a
socket.
-igor
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]