Re: nonblocking sockets and FTP

2002-01-25 Thread Bodo Moeller
On Mon, Jan 07, 2002 at 06:58:07PM +0100, Tomas Svensson wrote: > 1) Non-blocking SSL_accept() > > SSL_accept() always returns -1 and SSL_ERROR_WANT_READ (via > SSL_get_error()) but when I do SSL_read() in response to the first > error, [...] Why do you do that? Please read the SSL_get_error m

Re: nonblocking sockets and FTP

2002-01-11 Thread Ng Pheng Siong
On Mon, Jan 07, 2002 at 07:50:38PM +0100, Richard Koenning wrote: > At 18:58 07.01.2002 +0100, you wrote: > >1) Non-blocking SSL_accept() > > > You have to call SSL_accept() repeatedly until it completes successfully or > delivers an error other than SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE. >

Re: nonblocking sockets and FTP

2002-01-10 Thread robert
Hi Have u tried BIO_set_nbio(). If so what was your setup & experience. Maybe this is only for client side? Robert - Original Message - From: "Tomas Svensson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 07, 2002 11:58 AM Subject: n