Download wolfSSL Manual

Transcript
Parameters:
ssl - pointer to the SSL session, created with wolfSSL_new().
Example:
WOLFSSL* ssl = 0;
WOLFSSL_SESSION* session = 0;
...
session = wolfSSL_get_session(ssl);
if (session == NULL) {
// failed to get session pointer
}
...
See Also:
wolfSSL_set_session
wolfSSL_get_using_nonblock
Synopsis:
#include <wolfssl/ssl.h>
int wolfSSL_get_using_nonblock(WOLFSSL* ssl);
Description:
This function allows the application to determine if wolfSSL is using non-blocking I/O. If
wolfSSL is using non-blocking I/O, this function will return 1, otherwise 0.
After an application creates a WOLFSSL object, if it will be used with a non-blocking
socket, call wolfSSL_set_using_nonblock() on it. This lets the WOLFSSL object know
that receiving EWOULDBLOCK means that the recvfrom call would block rather than
that it timed out.
Return Values:
0 - underlying I/O is blocking.
1 - underlying I/O is non-blocking
Copyright 2015 wolfSSL Inc. All rights reserved.
250