Windows: ipv6 "any address" is ::0, not ::1
This commit is contained in:
parent
c6c3d15d81
commit
38c2322378
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user