----- Original Message ----- 
From: ShenRong <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 01, 2000 1:35 AM
Subject: Simple questions


> Hi,all
> 
> We write an www server doing HTTPS services.
> and we use non-blocking socket,and I have read 
> throuht the s_server,but I don't know whether or
> not BIO functions are necessiarily needed,though
> they are maybe used by underlying implementing.
> I notice the s_server do the i/o through io->ssl->socket,
> but I want to simply use SSL_read/SSL_write to 
> do the i/o,will it be ok with non-blocking socket?
> 
> Another question: If I met the EWouldBlock,say
> when I am doing SSL_write,I met SSL_ERROR_WANT_READ,
> what can I do then : to do SSL_read or SSL_write,the same
> problem is also with SSL_Accept,can I do SSL_Accept
> repeatly when I met I/O error?
> 
> Thanks
> 
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to