Struct SockAddrIPv6

A D representation of the sockaddr_in6 struct

struct SockAddrIPv6 ;

Constructors

NameDescription
this Construct a SockAddrIPv6

Fields

NameTypeDescription
sa core.sys.posix.netinet.in_.sockaddr_in6the underlying sockaddr_in6 struct

Properties

NameTypeDescription
port[get, set] ushortGet/set the sa's port in host byte order

Methods

NameDescription
any Construct an any sockaddr for the given port
loopback Construct a loopback sockaddr for the given port
toString Convert the address to GC allocated string in the format addr:port
toStringAddr Convert just the address part to a GC allocated string
toStringPort Convert just the port part to a GC allocated string