I want to create a web server that listens to 3 TCP connections and reads data from each one of them. I'm making those connections through a for
loop.
My understanding is that there would be three different epoll instances, one for each connection. Does this mean there are three threads blocked listening to three separate epoll instances? How would this work? I'm not sure how the kernel reads three epoll instances and returns a flag when one of them receives data.