DtlsEngine.enablePmtuDiscovery

void enablePmtuDiscovery(bool enable)

Enables or disables Path MTU Discovery.

When enabled, the engine probes for the optimal path MTU using RFC 8899 PLPMTUD. When disabled, the static MTU from setMtu() is used (default 1200 bytes).

Parameters

enabletrue to enable PLPMTUD, false to disable.