enet icon indicating copy to clipboard operation
enet copied to clipboard

Can enet support epoll()

Open playingoDEERUX opened this issue 2 years ago • 1 comments

^^ Question in title, I believe epoll has some great performance/scalability advantages that I would like to see in ENet! Any way that's going to be added in the future?

playingoDEERUX avatar Jul 30 '22 21:07 playingoDEERUX

With a small amount of sockets, epoll does not give perf benefits compared to poll. Meaning, for gaming UDP transport, where client or server have normally 1-2 sockets to communicate, there won't be significant epoll advantages. Keep in mind, even with 1000+ clients, UDP server uses the same socket to recv / send data.

dimage1 avatar Mar 20 '24 10:03 dimage1