On Wed, Jan 16, 2002 at 11:05:15AM +0100, Jan Vittrup Hansen wrote:
>  I am designing a message based protocol running across an SSL
> connection. In this protocol I sometimes send quite small messages (e.g.
> 10 bytes), and then wait for a response. However, I realize that
> SSL_write will simply transfer my 10 bytes to a larger buffer, the SSL
> record buffer. Now, I need to be certain that the 10 bytes is sent, and
> the system does not wait for the buffer to be filled before sending. How
> do I go on about ensuring that?

Calling SSL_write() with automatially cause the flush to happen.

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to