Kategorien
Anleitung How-to Open Source

pselect() Pitfalls

When dealing with multiple network connections or timeouts, the select() Unix system call is still the workhorse for many applications. Its well-known and frequently used interface beats the learning curve on the more scalable poll(), epoll(), or /dev/poll interfaces, especially if only a few file descriptors have to be monitored. select()’s younger sibling, pselect(), adds […]