I initialize OpenSSL 0.9.7 in a non-blocking C++ server like this:
SSL_METHOD *method = TLSv1_method();
SSL_CTX CTX = SSL_CTX_new(method);
A Java 1.4.1_01 client is initialized like that:
SSLContext ctx = SSLContext.getInstance("TLSv1");
When the Java client connects to the server SSL_accept()
I use a Java 1.4.1_01 client to connect to a non-blocking C++ server which
uses OpenSSL 0.9.7 (under Cygwin). When I exit the Java client a "close
notify" is sent to the server and the connection is closed by the Java
client. The server receives the "close notfiy" in SSL_read() which returns 0
(SSL