NativeDtlsEngine.getEffectiveMtu
size_t getEffectiveMtu(DatagramEndpoint peer) @safeReturns the effective MTU for a peer.
Reports the PLPMTUD-confirmed MTU when discovery is enabled and a value has been confirmed; otherwise the configured base MTU.
Parameters
peer | The peer's network address. |
Returns
The effective MTU in bytes.