Package | Description |
---|---|
java.net |
Modifier and Type | Method and Description |
---|---|
static Inet6Address |
Inet6Address.getByAddress(String host,
byte[] addr,
int scope_id)
Create an Inet6Address in the exact manner of
InetAddress.getByAddress(String,byte[]) except that the
IPv6 scope_id is set to the given numeric value. |
static Inet6Address |
Inet6Address.getByAddress(String host,
byte[] addr,
NetworkInterface nif)
Create an Inet6Address in the exact manner of
InetAddress.getByAddress(String,byte[]) except that the
IPv6 scope_id is set to the value corresponding to the given interface for the address type specified in
addr . |