Loic Fosse writes: > @@ -48,7 +48,7 @@ > #ifdef FD_SETSIZE /* should be in types.h, butcha never know. */ > #undef FD_SETSIZE /* if we ever need more than 16 active */ > #endif /* fd's, something is horribly wrong! */ > -#define FD_SETSIZE 16 /* <-- this'll give us a long anyways, > wtf */ > +#define FD_SETSIZE 1024 /* <-- this'll give us a long anyways, > wtf */ > #include <sys/types.h> /* *now* do it. Sigh, this is broken */
This seems to contradict the original intent of the code here. Could you explain why you needed to change this? I know the stuff about the size (i.e. in bits) of an fd_set is probably obsolete, but I'd like to know where we're running into a situation with this many open FDs before making any changes. -- things change. [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]