InternetAddressType is the type an InternetAddress. Currently, IP version 4 (IPv4) and IP version 6 (IPv6) are supported.

Constants

InternetAddressType ANY = const InternetAddressType._(-1)
const

InternetAddressType IP_V4 = const InternetAddressType._(0)
const

InternetAddressType IP_V6 = const InternetAddressType._(1)
const

Properties

name String
read-only

Get the name of the type, e.g. "IPV4" or "IPV6".

Methods

toString() → String

Returns a string representation of this object.