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. > See for example the function tls_accept_ctrl in file tlsutil.c in > ftp://ftp.runestig.com/pub/ftpd-tls/ftpd-tls.20010315.tar.gz
For another example that interoperates with Runestig's client and server, see M2Crypto's Python implementation of FTP/TLS. The server implementation in M2Crypto uses non-blocking sockets (and indeed calls SSL_accept() repeatedly). http://www.post1.com/home/ngps/m2/ -- Ng Pheng Siong <[EMAIL PROTECTED]> * http://www.netmemetic.com ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
