NativeDtlsEngine.setMtu

void setMtu(size_t mtu) @safe pure nothrow @nogc

Set the path MTU for datagram fragmentation.

DTLS handshake messages larger than the MTU will be fragmented. The default is 1200 bytes, which is conservative for most networks.

Parameters

mtuThe MTU in bytes.