Struct IPv6

An IPv6 address

struct IPv6 ;

Constructors

NameDescription
this Construct an IPv6 address

Fields

NameTypeDescription
bytes ubyte[16]Address as array of bytes
inaddr core.sys.posix.netinet.in_.in6_addrAddress as in6_addr

Properties

NameTypeDescription
isLinkLocal[get] boolReturns true if this is a link local address
isLoopback[get] boolReturns true if this is the loopback address
isMulticast[get] boolReturns true if this is a multicast address
isSiteLocal[get] boolReturns true if this is a site local address
isUnspecified[get] boolReturns true if this is the unspecified address
isV4Compat[get] boolReturns true if this address is in the IPv4 range

Methods

NameDescription
opAssign Assignment
toString Return a GC allocated string for the address (colon notation)