Moved to openssl-users...

On Thu, Mar 15, 2001 at 08:51:07PM -0800, MANDALEEKA,LAKSHMI (HP-Cupertino,ex1) wrote:
...
>                nBytesSent = SSL_write(m_pSSL, &(pszBuf[nOffset]),
> nBytesToSend);
> 
>                        if (nBytesSent < 1) 
>                         break;

If (nBytesSent > 0)
  n bytes were sent;
If (nBytesSent == 0)
  connection was closed with SSL shutdown alert (clean close);
else
  call SSL_get_error() and check the error stack to find out what is going on;

man SSL_get_error, ERR_get_error.

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to