If the read was successful you should get the number of bytes back. If the
result is <= 0 try calling SSL_get_error to see whether an error occured, or
the read operation simply blocked waiting for more data. If the later is the
case, do a select (or whatever) on the socket to monitor for the arrival of
the required data.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 17, 2000 10:43 AM
> To: [EMAIL PROTECTED]
> Subject: SSL_read() in non-blocking mode
>
>
> I am using OpenSSL in non-blocking mode.
> It appears that a read operation always returns a value of <= 0.
> How can I determine the success of the read operation?
>
> cc any replies to [EMAIL PROTECTED]
>
> Angelo
>
>
> ______________________________________________________________________
> 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]