Java java.net Inet6Address fields, constructors, methods, implement or subclass

Example usage for Java java.net Inet6Address fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.net Inet6Address.

The text is from its open source code.

Method

byte[]getAddress()
Returns the raw IP address of this InetAddress object.
Inet6AddressgetByAddress(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 .
Inet6AddressgetByAddress(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.
InetAddressgetByAddress(String host, byte[] addr)
Creates an InetAddress based on the provided host name and IP address.
StringgetHostAddress()
Returns the IP address string in textual presentation.
intgetScopeId()
Returns the numeric scopeId, if this instance is associated with an interface.