mbedTLS + 0/3 examples
SourceVu will show references to mbedtls_ssl_set_bio() from the following samples and libraries:
 
Symbols
loading...
Files
loading (2/5)...
SummarySyntaxArgumentsRelatedExamplesReferencesData Use

Notes

One of f_recv or f_recv_timeout can be NULL, in which case the other is used. If both are non-NULL, f_recv_timeout is used and f_recv is ignored (as if it were NULL). The two most common use cases are: - non-blocking I/O, f_recv != NULL, f_recv_timeout == NULL - blocking I/O, f_recv == NULL, f_recv_timeout != NULL For DTLS, you need to provide either a non-NULL f_recv_timeout callback, or a f_recv that doesn't block. See the documentations of \c mbedtls_ssl_send_t, \c mbedtls_ssl_recv_t and \c mbedtls_ssl_recv_timeout_t for the conventions those callbacks must follow. On some platforms, net_sockets.c provides \c mbedtls_net_send(), \c mbedtls_net_recv() and \c mbedtls_net_recv_timeout() that are suitable to be used here.

References

from 0/3 examples