Package | Description |
---|---|
java.net |
Provides the classes for implementing networking applications.
|
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 . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2012, Oracle and/or its affiliates. All rights reserved.