Closed kirinrastogi closed 5 years ago
try this next, for each process that forks:
epoll_create open a nonblocking socket and push to vec
loop
listen and accept on socket if one is opened, make another and push epoll_ctl it epoll_wait for a read to be ready from a socket when a read is ready, send() it a 418 non-blocking end
handle with epoll