On Mon, Feb 19, 2007, Milan K?pek wrote:

> 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?
> 

Try the FAQ.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to