Subject: Re: default maximum number of open file descriptors too small?
To: Christoph Badura <email@example.com>
From: Greg Hudson <ghudson@MIT.EDU>
Date: 11/29/1995 17:07:24
> I'd rather have the FD_ZERO fixed to take the size of the fd_set as
> a explicit parameter.
If we're going to abandon the current select() interface, the right
answer is to the use the SVR4 poll(), one of the few things System V
did much better than BSD. (There's the minor weakness that it uses a
millisecond timeout, but that's much less of a flaw than those of the
If someone has a solution that works without changing the current
select() source-code interface (and I don't think putting an fd_size
in the fd_set structure truly solves anything), that might be worth
considering, but tweaking the broken select interface still won't get
you anything as elegant as poll().