gtpc1m63Transmission Control Protocol/Internet Protocol

SSL_pending

The SSL_pending function returns the amount of data in the current Secure Sockets Layer (SSL) data record that is immediately available for reading on an SSL session.

Format

#include <openssl/ssl.h>
int SSL_pending(SSL *ssl)

ssl
A pointer to a token returned on the SSL_new call.

Normal Return

Returns the number of bytes that are pending, which can be zero.

Error Return

None.

Programming Considerations

Examples

For sample SSL applications, go to http://www.ibm.com/tpf/pubs/tpfpubs.htm, click SSL for the TPF 4.1 System: An Online User's Guide, and click Examples from the left navigation bar.

Related Information