AddrInfo.getTcpIp

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

class AddrInfo
ErrorCode
getTcpIp

Parameters

node cstring

node name (may be null)

service cstring

service name (may be null)

ipv6 bool

false: get the IPv4, true: get the IPv6 address

flags addrinfo.Flags

getaddrinfo() flags

Return Value

Type: ErrorCode

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

Meta