Optional
One or more supported getaddrinfo flags. Multiple flags may be passed by bitwise ORing their values.
The record family. Must be 4 or 6. IPv4 and IPv6 addresses are both returned by default.
4
6
When true, the callback returns all resolved addresses in an array. Otherwise, returns a single address.
true
false Copy
false
One or more supported getaddrinfo flags. Multiple flags may be passed by bitwise ORing their values.