Chapter 2. API Reference
ret = SSL_pending(ssl);
}
3.16 int SSL_has_pending (const SSL * ssl)
Arguments:
ssl - SSL point
Return:
1 : Yes
0 : No
Description:
check if data is received
Example:
void example(void)
{
int ret;
SSL *ssl;
... ...
ret = SSL_has_pending(ssl);
}
3.17 int SSL_get_fd (const SSL * ssl)
Arguments:
ssl - SSL point
Return:
>= 0 : socket id
< 0 : a error catch
Description:
get the socket of the SSL
Example:
void example(void)
{
int ret;
SSL *ssl;
... ...
ret = SSL_get_fd(ssl);
}
3.18 int SSL_get_rfd (const SSL * ssl)
Arguments:
Espressif Systems
542
Submit Document Feedback
(continued from previous page)
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?