InetAddress
classin packageklyn.net
public class InetAddress extends Object:
└ InetAddress
Internet host descriptor, close to Java's `java.net.InetAddress`.
Properties
Modifier and Type Member Description
public readonly property hostAddress
hostAddress as String:
Numeric host address.
public readonly property hostName
hostName as String:
Host name used to resolve this endpoint.
Properties inherited from Object: type
Methods
Modifier and Type Member Description
public static anyLocalAddress
anyLocalAddress() as InetAddress:
Returns the wildcard local address.
public static getByName
getByName(host as String) as InetAddress:
Resolves one host name to an internet address.
public static loopbackAddress
loopbackAddress() as InetAddress:
Returns the loopback address.
public override toString
toString() as String:
Returns the textual host address.
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml