summaryrefslogtreecommitdiff
path: root/ace/config-win32-common.h
diff options
context:
space:
mode:
authormarina <marina@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-23 03:07:44 +0000
committermarina <marina@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-23 03:07:44 +0000
commit8f18ee6a689e4356ee0597e571cbc03407f888bd (patch)
treee7d3f7dbc931b65fde8794e9a65559a64a398db0 /ace/config-win32-common.h
parentddc793be9e821aa341113407b8dd439095792e18 (diff)
downloadATCD-8f18ee6a689e4356ee0597e571cbc03407f888bd.tar.gz
ChangeLogTag:Sat Jul 22 22:10:35 2000 Marina Spivak <marina@cs.wustl.edu>
Diffstat (limited to 'ace/config-win32-common.h')
-rw-r--r--ace/config-win32-common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/config-win32-common.h b/ace/config-win32-common.h
index 1ae6d04f108..a2b7e295f95 100644
--- a/ace/config-win32-common.h
+++ b/ace/config-win32-common.h
@@ -155,6 +155,14 @@
// ---------------- platform features or lack of them -------------
+// By default WIN32 has FD_SETSIZE of 64, which places the limit
+// between 61 and 64 on the number of clients a server using the
+// Select Reactor can support at the same time (i.e., 64 - standard in,
+// out, error). He we raise the limit to 1024. Adjust the definition
+// below if you need to raise or lower it.
+//
+#define FD_SETSIZE 1024
+
// Windows doesn't like 65536 ;-) If 65536 is specified, it is
// listenly ignored by the OS, i.e., setsockopt does not fail, and you
// get stuck with the default size of 8k.