]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gsocket.c
Removal of previous wxValidtor code for wxOS2
[wxWidgets.git] / src / msw / gsocket.c
index 729886938afbcb8ff876bce54fa8590bee3705ed..0a0f072e7c259fe107b7e11a87519f0f2e1f4d59 100644 (file)
@@ -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;
 }