Method _Stdio.Fd()->query_mtu()


Method query_mtu

int query_mtu()

Description

Get the Max Transfer Unit for the object (if any).

Returns
-1

Returns -1 if the object is not a socket or if the mtu is unknown.

(1..)

Returns a positive value with the mtu on success.