abstract class MTU extends Object
Constructor and Description |
---|
MTU() |
Modifier and Type | Method and Description |
---|---|
static int |
getMTU(InetAddress ia)
The MTU for the socket interface, if available.
|
static int |
rectify(boolean isIPv6,
int mtu) |
public static int getMTU(InetAddress ia)
ia
- null okpublic static int rectify(boolean isIPv6, int mtu)