- canonname
char[] canonname()
- canonname_c
char* canonname_c()
- get
ErrorCode get(char* node, char* service, int family, int type, int protocol, addrinfo.Flags flags)
Gets the address info for a node and/or service.
- get
ErrorCode get(char* node, char* service, addrinfo* hints)
Gets the address info for a node and/or service.
- getIp
ErrorCode getIp(char* node, char* service, bool ipv6, int type, int protocol, addrinfo.Flags flags)
Gets the address info for an IP node and/or service.
- getTcpIp
ErrorCode getTcpIp(char* node, char* service, bool ipv6, addrinfo.Flags flags)
Gets the address info for a TCP/IP node and/or service.
- info
addrinfo* info()
- ip_address
char[] ip_address()
Obtains the current IP address in standard notation.
- port
ushort port()
Wraps getaddrinfo()/freeaddrinfo() and manages an addrinfo instance; uses C strings as arguments. This class is memory-friendly when used with 'scope' instances.