X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e22da5d62588dd7c928d1aaa1f1dfeb797792f2f..f38374d0d7aa865e9bbe8ee61b75b94ffcdfb220:/src/msw/gsocket.c diff --git a/src/msw/gsocket.c b/src/msw/gsocket.c index 729886938a..0a0f072e7c 100644 --- a/src/msw/gsocket.c +++ b/src/msw/gsocket.c @@ -1175,7 +1175,7 @@ GSocketError _GAddress_Init_INET(GAddress *address) address->m_family = GSOCK_INET; address->m_realfamily = PF_INET; ((struct sockaddr_in *)address->m_addr)->sin_family = AF_INET; - ((struct sockaddr_in *)address->m_addr)->sin_addr.s_addr = INADDR_ANY; + ((struct sockaddr_in *)address->m_addr)->sin_addr.s_addr = INADDR_NONE; return GSOCK_NOERROR; }