Hi All, As per the OpenSSL doc : *"SSL_peek_ex() and SSL_peek() are identical to SSL_read_ex() and SSL_read() respectively except no bytes are actually removed from the underlying BIO during the read, so that a subsequent call to SSL_read_ex() or SSL_read() will yield at least the same bytes."*
*I have a quick question here, Does SSL_peek() remove the session ticket (Non application data) from the underlying BIO or will it remain there just like application data until unless SSL_read() is called to read the session ticket. * --Rahul