Example usage for Java java.net Inet6Address fields, constructors, methods, implement or subclass
The text is from its open source code.
byte[] | getAddress() Returns the raw IP address of this InetAddress object. |
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 . |
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. |
InetAddress | getByAddress(String host, byte[] addr) Creates an InetAddress based on the provided host name and IP address. |
String | getHostAddress() Returns the IP address string in textual presentation. |
int | getScopeId() Returns the numeric scopeId, if this instance is associated with an interface. |