Hello,
This probably is more of a TCP problem then it is of OpenSSL. You might want to look at "SO_KEEPALIVE" option for the TCP socket.
Hope this helps,
Regards,
Usman.


Hello,

I want to be able to handle unclean closing of an SSL socket. I have a client server applications and if the client dies for some reason I want to be able to check the SSL connection on the server side and then clean things up.

I have tried using the SSL_state() command but when my client dies the SSL_state() command is still telling me then socket state is OK (SSL_ST_OK).

Why is the state ok of the client is not longer connected?

How can I check that the client application is not longer connected?

Thanks,
Perry
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to