DtlsPmtudEngine.effectiveMtu

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

Returns the effective MTU for a peer.

The effective MTU is the currently confirmed value: the base MTU until a probe succeeds, then the highest confirmed probe size.

Parameters

statePer-peer PLPMTUD state.

Returns

The effective MTU in bytes.