Permalink
Browse files

Updated comment

  • Loading branch information...
1 parent 945bd79 commit de006381151157dd49b3d05d3b432b5f11712947 @stakach committed Mar 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 ext/em.cpp
View
@@ -1478,8 +1478,8 @@ struct sockaddr *name2address (const char *server, int port, int *family, int *b
#ifdef OS_WIN32
// Windows doesn't have inet_pton.
- // Make a getaddrinfo call with the supplied server address,
- // constraining the hints to ipv6 and seeing if we get any addresses.
+ // Make a getaddrinfo call with the supplied server address (hostname or ipv6 address),
+ // We pick the first valid result.
struct addrinfo *result = NULL;
struct addrinfo *ptr = NULL;
struct addrinfo hints;

0 comments on commit de00638

Please sign in to comment.