requestMtu

fun requestMtu(mtu: Int, callback: (Int, Int) -> Unit)

Requests an MTU (Maximum Transmission Unit) change with timeout handling.

Parameters

mtu

The desired MTU size (must be between 23 and 517)

callback

Called with (negotiatedMtu, status) when the operation completes or times out