Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- epoll_ctl (efd, EPOLL_CTL_ADD, fd, &event);
- if(conn->getSockfd() == events[i].data.fd)
- // ....
- typedef union epoll_data {
- void *ptr;
- int fd;
- uint32_t u32;
- uint64_t u64;
- } epoll_data_t;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement