On Mon, Mar 19, 2001 at 11:13:22PM -0700, Nathan Parker wrote:
> Question:
> How can I poll the SSL layer to see if it has data I can read?  I want to 
> implement a function to read N bytes with a time limit, but using select() 
> messes me up -- it doesn't know if there is data available within SSL.

You are looking for SSL_pending().

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
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to