| Package | Description |
|---|---|
| com.peterphi.std.net |
| Modifier and Type | Method and Description |
|---|---|
static java.net.NetworkInterface |
IpHelper.getInterfaceForLocalIp(java.net.InetAddress addr)
Given a local IP address, returns the Interface it corresponds to
|
static java.lang.String |
IpHelper.getMacForLocalIp(java.net.InetAddress addr)
Given an InetAddress, determines the MAC Address (hardware address) of the corresponding interface
|
Copyright © 2014. All Rights Reserved.