Hacker News new | ask | show | jobs
by moises_silva 1850 days ago
> The fact that select doesn't work on more than 1024 fds is terrible.

Pedantic clarification, but it's worse than that. It doesn't work on any fd with a value higher than FD_SETSIZE (default is 1024) - 1. You could be working with single fd with a value of 1024 and it would not work.

On the bright side you can extend this limit pretty easily, but it's certainly a good reason to avoid select whenever possible.