The ultimate socket library for C and C++, supporting TCP, UDP and Unix sockets (DGRAM and STREAM) on Linux, FreeBSD, Solaris. See also my uvco library for a refreshed version!
When both EPOLLIN and EPOLLOUT events are configured for a epoll fd via epollset::add_fd(), both flag bit could be set in an IO event, thus we need to use Bitwise AND to be able to detect both of them.
Hi,
When both EPOLLIN and EPOLLOUT events are configured for a epoll fd via epollset::add_fd(), both flag bit could be set in an IO event, thus we need to use Bitwise AND to be able to detect both of them.