Hacker News new | ask | show | jobs
by kqueue 5364 days ago
Not to mention that kevent contain the number of bytes to be read, or the number of connections to accept, which can avoid you a system call that returns EAGAIN in a non-blocking socket.