If you stepped a bit into the source code , you would have found the answer 
yourself.

They are defined in the ssl.h.You may see the help doc for more details.
#define SSL_ERROR_NONE            0
#define SSL_ERROR_SSL            1
#define SSL_ERROR_WANT_READ        2
#define SSL_ERROR_WANT_WRITE        3
#define SSL_ERROR_WANT_X509_LOOKUP    4
#define SSL_ERROR_SYSCALL        5 /* look at error stack/return value/errno */
#define SSL_ERROR_ZERO_RETURN        6
#define SSL_ERROR_WANT_CONNECT        7
#define SSL_ERROR_WANT_ACCEPT        8


At 2011-03-02 22:55:51,ikuzar <razuk...@gmail.com> wrote:
Hello,
SSL_write fails in my program. After debuging, I have got err = 2 in  err = 
SSL_get_error(ssl, err);
Does someone know what does it mean ?
Thanks.

Reply via email to