summaryrefslogtreecommitdiff
path: root/cppe/include/IceE/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/include/IceE/Config.h')
-rw-r--r--cppe/include/IceE/Config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/cppe/include/IceE/Config.h b/cppe/include/IceE/Config.h
index 1831da8312d..5452199f420 100644
--- a/cppe/include/IceE/Config.h
+++ b/cppe/include/IceE/Config.h
@@ -38,6 +38,7 @@
//
//#define ICEE_PURE_BLOCKING_CLIENT
+
// ***********************************************************************
//
// User should not change anything below this line!
@@ -67,6 +68,15 @@
#endif
//
+// On Windows CE, socket timeouts (SO_SNDTIMEO and SO_RCVTIMEO) are
+// not supported so we use select()/WSAEventSelect to implement
+// timeouts.
+//
+#if defined(_WIN32_WCE)
+# define ICE_USE_SELECT_FOR_TIMEOUTS
+#endif
+
+//
// Only supported/needed with VC6; Totally undocumented! And if you
// set it lower than 512 bytes, the program crashes. Either leave at
// 0x200 or 0x1000