epoll-example
epoll-example copied to clipboard
Infinite loop "for (;;)" on line 130
The infinite loop "for (;;)" on line 130 is making the server never receive other clients while the first client is connected. Is this intentional or a loop?
Could be avoided by removing it.
epoll_wait will handle establish/data event and surely receive multiple clients simultaneously