gtpc1m5aTransmission Control Protocol/Internet Protocol

SSL_accept

The SSL_accept function accepts a Secure Sockets Layer (SSL) session connection request from a remote client application.

Format

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

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

Normal Return

Return code 1 indicates that the function was successful.

Error Return

A return code equal to 0 or a negative number indicates an error. Issue the SSL_get_error function to obtain specific information about the error.

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