AddrInfo.get

Gets the address info for a node and/or service.

Parameters

node cstring

node name (may be null)

service cstring

service name (may be null)

hints addrinfo*

addrinfo instance specifying the socket family, type, protocol and flags or null to get all available addresses

Return Value

Type: ErrorCode

0 on success or an error code on failure, see addrinfo.ErrorCode.

Meta