epoll_wait: maxevents
Posted
by someguy
on Stack Overflow
See other posts from Stack Overflow
or by someguy
Published on 2010-06-03T20:14:57Z
Indexed on
2010/06/03
21:44 UTC
Read the original article
Hit count: 359
int epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout);
I'm a little confused about the maxevents parameter. Let's say I want to write a server that can handle up to 10k connections. Would I define maxevents as 10000 then, or should it be be lower for some reason?
© Stack Overflow or respective owner