Returns a string representation of the address that identifies it in a custom format.
Returns a single address object for the given protocol and parameters.
Provides the set of addresses to listen on all supported protocols on the machine for the given interfaces. localhost only listens on the loopback interface, whereas allInterfaces will listen on loopback as well as the others on the system (meaning it may be publicly exposed to the internet).
Calls getaddrinfo and returns the array of results. It will populate the data into the buffer you provide, if you provide one, otherwise it will allocate its own.
Returns a single address object for the given protocol and parameters.
Provides the set of addresses to listen on all supported protocols on the machine for the given interfaces. localhost only listens on the loopback interface, whereas allInterfaces will listen on loopback as well as the others on the system (meaning it may be publicly exposed to the internet).
Returns a single address object for the given protocol and parameters.
For functions that give you an unknown address, you can use this to hold it.
Can get: ip4 ip6 unix abstract_
name lookup for connect (stream or dgram) request canonical name?
interface lookup for bind (stream or dgram)