> Is the accepted method to > #define FD_SETSIZE 1024 > before including sys/types.h? Will things break if that size were In fact, I've seen that technique *documented*, as far back as 4.3, maybe even 4.2 (or maybe not, 4.2 still used int*...) Check the select man page.