tracking down insane socket tester bugs on windoze, where the main culprit so far...
[feisty_meow.git] / nucleus / library / basis / mutex.cpp
index 6a9af775879059f5e4730c69ea3d874f26ccd1e3..73de68c86b6255c52f15438a955d39c0917398a6 100644 (file)
 #endif
 #ifdef __WIN32__
   #define _WINSOCKAPI_  // make windows.h happy about winsock.
+  // winsock support...
+//  #undef FD_SETSIZE
+//  #define FD_SETSIZE 1000
+    // if you don't set this, you can only select on a default of 64 sockets.
+  #include <winsock2.h>
   #include <windows.h>
 #endif