DtlsPmtudEngine.effectiveMtu

size_t effectiveMtu(ref const PmtudPeerState state) const @safe pure nothrow @nogc

Returns the effective MTU for a peer.

If PLPMTUD has completed, returns the discovered MTU. Otherwise returns the base MTU.

Parameters

statePer-peer PLPMTUD state.

Returns

The effective MTU in bytes.