Meta
(NOTE) IPv4/IPv6 network host identifier Provided for convenience Note: This class is not slice-able, it has extra data.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
Clear | Hash | SocketAddress | |
Constructor | Host | ||
InternetProtocol | |||
IsValid | |||
Port | |||
PortString | |||
String |
Properties
Hash : integer
read-only
var Hash : Integer
Host : string
Returns the valid IP address host as a numeric string, else String()
var Host : String
InternetProtocol : InternetProtocol
read-only
Returns the valid IP address protocol version, else InternetProtocol::Unspecified.
var InternetProtocol : InternetProtocol
IsValid : boolean
read-only
Returns true if this is a non-empty IPv4/IPv6 address, else false.
var IsValid : Boolean
Port : integer
Returns the valid IP address port, else 0.
var Port : Integer
PortString : string
read-only
Returns the valid IP address port as a numeric string, else String()
var PortString : String
String : string
read-only
Returns the valid IP address as a numeric "host:port" string, else String()
var String : String
Methods
Clear : Void
Clears the IP address. |Name|Type|Description| |---|---|---|
function Clear()
IpAddress : Void
constructor
Creates an empty IP address. |Name|Type|Description| |---|---|---|
function IpAddress()
IpAddress : Void
constructor
Copy Constructors. |Name|Type|Description| |---|---|---| |rhs|ipaddress| |
function IpAddress(rhs : IpAddress)
IpAddress : Void
constructor
Creates an empty IP address. |Name|Type|Description| |---|---|---| |host|string| | |port|integer| |
function IpAddress(host : String, port : Integer)
IpAddress : Void
constructor
Creates an empty IP address. |Name|Type|Description| |---|---|---| |host|string| | |port|integer| | |internetProtocol|InternetProtocol| |
function IpAddress(host : String, port : Integer, internetProtocol : InternetProtocol)