> The only signals that I have is readyRead() (emit when I can read data
> form socked) and bytesWritten() (emit when data was written to the
> socked). I seen that OpenSSL will only have data for read when an Record
> was complete transmitted. How can I find out the size of an Record?
> Then I can try to call SSL_read only when all data of an record are
> received.

        You can't teach your application SSL, and it would be madness to try.

        If you are doing blocking operations, then no problem, SSL_read will 
block
until it can read at least one byte of application data, which should be
what you want.

        If you are doing non-blocking operations, then no problem, SSL_read will
never block. So just try any time you get data.

        DS


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

Reply via email to