- sockaddr
struct sockaddr
Undocumented in source.
- addrinfo
struct addrinfo
Undocumented in source.
- name
sockaddr* name [@property getter]
Undocumented in source.
- nameLen
int nameLen [@property getter]
Undocumented in source.
- exception
void exception(immutable(char)[] msg)
Tango: added this common function
- create
Address create(sockaddr* sa)
- resolve
Address resolve(const(char)[] host, const(char)[] service, AddressFamily af, AIFlags flags)
- resolve
Address resolve(const(char)[] host, ushort port, AddressFamily af, AIFlags flags)
- resolveAll
Address[] resolveAll(const(char)[] host, const(char)[] service, AddressFamily af, AIFlags flags)
- resolveAll
Address[] resolveAll(const(char) host, ushort port, AddressFamily af, AIFlags flags)
- passive
Address passive(const(char)[] service, AddressFamily af, AIFlags flags)
- passive
Address passive(ushort port, AddressFamily af, AIFlags flags)
- toAddrString
char[] toAddrString [@property getter]
- toPortString
char[] toPortString [@property getter]
- toString
string toString()
- addressFamily
AddressFamily addressFamily [@property getter]
IPv6 is the next-generation Internet Protocol version designated as the successor to IPv4, the first implementation used in the Internet that is still in dominant use currently.
More information: http://ipv6.com/
IPv6 supports 128-bit address space as opposed to 32-bit address space of IPv4.
IPv6 is written as 8 blocks of 4 octal digits (16 bit) separated by a colon (":"). Zero block can be replaced by "::".
For example: