Libraries anvil net InetAddress

class InetAddress
extends anvil.lang.object
This class represents an Internet Protocol (IP) address.

Methods

string getAddress()
Returns the IP address.
Returns the ip address string "a.b.c.d"

string getHost()
Returns the hostname of this address.
Returns host name

boolean isMulticast()
Utility to check if this address is multicast address.
Returns true if is multicast address