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.
See Implementation
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.