Client connections with epoll
Posted
by Andres Rodriguez
on Stack Overflow
See other posts from Stack Overflow
or by Andres Rodriguez
Published on 2010-05-10T18:45:58Z
Indexed on
2010/05/11
2:14 UTC
Read the original article
Hit count: 424
Hi,
I'm programming an application(client/server) in C++ for linux using epoll y pthreads but I don't know how to handle the connect()
calls for attach a new connection in the descriptor list if a loop with epoll_wait()
is running(Edge-triggered), How to can I do it?... I could to use a dummy file descriptor to trigger an event and scape of wait?, or a simple call to connect()
could fire the event??...
Sorry for my bad english...
© Stack Overflow or respective owner