Use all results from getaddrinfo
getaddrinfo may return multiple results (multipath, v4/v6), so try them in order instead of returning the first
getaddrinfo may return multiple results (multipath, v4/v6), so try them in order instead of returning the first