Tatsuo Ishii <[EMAIL PROTECTED]> writes: > This is used for calculating the upper limit of -c option. However > actual limit is coming from the number of descriptors that select(2) > can watch (besides the number of file descriptors allowed by the > kernal. This is different story though, I think). So it seems the line > would be better looking at FD_SETSIZE in select.h.
This seems reasonable, but surely it needs to be FD_SETSIZE less a bit, because stdin/stdout/etc eat FD numbers too. Maybe #define MAXCLIENTS (FD_SETSIZE - 10) regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly