majek/puka — pull request #11 by bombela (2012-03-07 22:42:21+00:00)
Title: Avoid connection error because one endpoint is not reachable.

For example, if getaddrinfo resolve to 5 different ipv4 endpoints and one ipv6, all of them must be tested before giving up with a connection error.