DtlsEngine.getEffectiveMtu
size_t getEffectiveMtu(DatagramEndpoint peer)Gets the current effective MTU for a peer.
If PLPMTUD is enabled and has completed for this peer, returns the discovered MTU. Otherwise returns the static MTU.
Parameters
peer | The peer's network address. |
Returns
The effective MTU in bytes.