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

but thats not the same as a VMS style asynchronous call, where sys$qio is 
called with a callback routine.  when data shows up on the port, the 
callback routine is executed.


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

Reply via email to