gnutls_dtls_get_mtu3
Api function
Usage
#include <gnutls/dtls.h>
unsigned int gnutls_dtls_get_mtu(gnutls_session_t session);
Arguments
- gnutls_session_t session
-
is a
gnutls_session_ttype.
Overview
This function will return the MTU size as set with gnutls_dtls_set_mtu(). This is not the actual MTU of data you can transmit. Use gnutls_dtls_get_data_mtu() for that reason.
Returns
the set maximum transfer unit.
Since
3.0
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.