Address6

IPv6 internet address.

Constructors

this
this(ubyte[16] address, uint scopeID)

Constructs an $(D_PSYMBOL Address6) from an array containing raw bytes in network byte order and scope ID.

Members

Functions

isAny
bool isAny()

:: can represent any address. This function checks whether this address is ::.

isLinkLocal
bool isLinkLocal()

Determines whether this address is a link-local unicast address.

isLoopback
bool isLoopback()

Loopback address is ::1.

isMulticast
bool isMulticast()

Determines whether this address' destination is a group of endpoints.

isUnicast
bool isUnicast()

Determines whether this address' destination is a single endpoint.

isUniqueLocal
bool isUniqueLocal()

Determines whether this address is an Unique Local Address (ULA).

opCmp
int opCmp(Address6 that)

Compares two Address6 objects.

toBytes
ubyte[16] toBytes()

Produces a byte array containing this address in network byte order.

toString
OR toString(OR output)

Writes text representation of this address to an output range.

Properties

any
Address6 any [@property getter]

Returns object that represents ::.

loopback
Address6 loopback [@property getter]

Returns object that represents ::1.

Variables

scopeID
uint scopeID;

Scope ID.

Meta