Bump default FD_SETSIZE from 256 to 1024 as many modern

systems do nowdays (like SunOs 5.5.1 f.e.)
256 is too small under real network load
This commit is contained in:
Andrey A. Chernov 1997-02-15 22:26:29 +00:00
parent c685f73d2a
commit acc2427984

View File

@ -136,7 +136,7 @@ typedef _BSD_TIME_T_ time_t;
* be enough for most uses.
*/
#ifndef FD_SETSIZE
#define FD_SETSIZE 256
#define FD_SETSIZE 1024
#endif
typedef long fd_mask;