Windows: ipv6 "any address" is ::0, not ::1

This commit is contained in:
Bert Belder 2011-08-15 05:52:50 +02:00
parent c6c3d15d81
commit 38c2322378

View File

@ -177,7 +177,7 @@ void uv_winsock_startup() {
/* Set implicit binding address used by connectEx */
uv_addr_ip4_any_ = uv_ip4_addr("0.0.0.0", 0);
uv_addr_ip6_any_ = uv_ip6_addr("::1", 0);
uv_addr_ip6_any_ = uv_ip6_addr("::", 0);
/* Retrieve the needed winsock extension function pointers. */
dummy = socket(AF_INET, SOCK_STREAM, IPPROTO_IP);