Java.Net.InetAddress: Method Members

The methods of Java.Net.InetAddress are listed below. For a list of all members, see the InetAddress Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

GetAddress() : byte[]
Returns the IP address represented by this InetAddress instance as a byte array.
static
GetAllByName(string) : InetAddress[]
Gets all IP addresses associated with the given host identified by name or literal IP address.
static
GetByAddress(byte[]) : InetAddress
Equivalent to getByAddress(null, ipAddress).
static
GetByAddress(string, byte[]) : InetAddress
Returns an InetAddress corresponding to the given network-order bytes ipAddress and scopeId.
static
GetByName(string) : InetAddress
Returns the address of a host according to the given host string name host.
IsReachable(int) : bool
Tries to reach this InetAddress.
IsReachable(NetworkInterface, int, int) : bool
Tries to reach this InetAddress.