Maybe you could do with a select(). You test the return of select and you will know if conection has been closed ;)

Milan Křápek a écrit :
Hi I have problem, Is there any function in Openssl, that says me, that connection is active?? I create a new TCP connection with BIO_do_connect, it returns me, that connection was established. Than I make some another things in my program, after a while a send through this connection some data, but it returns me, that connection was closed. I need some function is_connected(bio), that says me, if the connection is still active.
thanks for help
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Ce message et toutes les pi�ces jointes sont confidentiels et �tablis a
l'intention exclusive de ses destinataires. Toute modification, �dition,
utilisation ou diffusion non autoris�e est interdite. Tout message
�lectronique est susceptible d'alt�ration. CXR Anderson Jacobson d�cline
toute responsabilit� au titre de ce message s'il a �t� alt�r�, d�form�,
falsifi�, �dit� ou diffus� sans autorisation.

This message and any attachments are confidential and intended solely
for the addressees. Any unauthorised alteration, printing, use or
dissemination is prohibited. E-mails are susceptible to alteration. CXR
Anderson Jacobson shall not be liable for the message if altered,
changed, falsified, printed or disseminated without authorisation.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to