Hi,

 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?

 Can I calculate how much data is missing for the record buffer to be
filled, and then fill the remaining space with garbage to trigger the
encryption and subsequent transfer, or can I simply flush the data
somehow?

 Regards, Jan...


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to