Return the maximum application‐data payload size for a DTLS connection.

Synopsis

Declared in <openssl/ssl.h>

size_t
DTLS_get_data_mtu(SSL const* s);

Return Value

Maximum bytes of application data per datagram, or 0 if unknown.

Parameters

Name

Description

s

DTLS SSL object whose path MTU / record overhead are considered.

Created with MrDocs