Hi, in my openssl project I must be able to create TCP or TCP/TLS connection. 
When I connect only with TCP protocol, I do it with BIO_do_connect. Sometimes 
my connection is terminated. And I need a little bit more information what 
happend. 

I use this code

rc = BIO_write(bio, message.c_str() , message.length());

Now if the connection fails I try to get some error messages. I call 

ERR_error_string(rc , buf);

but when I print the buf to the screen I get something like: 
error:FFFFFFFF:lib(4950):func(4950):reason(4950)

I expected a litlle bit more information. Is there any way to do it? 
Is there some function, that gives me more information?

Thanks for respond
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to