fix: don't ignore all but the first resolved socket addresses
Compare changes
Files
2@@ -169,11 +169,13 @@ impl TcpStream {
@@ -258,6 +260,8 @@ fn nonblocking_socket(kind: libc::c_int) -> io::Result<AutoCloseFd> {
@@ -659,7 +663,7 @@ mod tests {