mbedtls_ssl_conf_transport() function
Set the transport type (TLS or DTLS). Default: TLS
Arguments
conf
SSL configuration
transport
transport type: MBEDTLS_SSL_TRANSPORT_STREAM for TLS, MBEDTLS_SSL_TRANSPORT_DATAGRAM for DTLS.
Notes
For DTLS, you must either provide a recv callback that doesn't block, or one that handles timeouts, see \c mbedtls_ssl_set_bio(). You also need to provide timer callbacks with \c mbedtls_ssl_set_timer_cb().
Functions calling mbedtls_ssl_conf_transport()
mbedtls_ssl_conf_transport()
Data read by mbedtls_ssl_conf_transport()
Data written by mbedtls_ssl_conf_transport()
mbedtls_ssl_conf_transport()