summaryrefslogtreecommitdiff
path: root/src/network/poller.hpp
AgeCommit message (Collapse)Author
2014-05-27SocketHandlers own the poller and add themself into it only when the socket ↵Florent Le Coz
is created We want to call socket() with the parameters provided by getaddrinfo, so we can’t addd the fd into the poller immediately. We need to wait the connection attempt, and then the SocketHandler can call add_socket_handler itself, if the connection succeeds, or is in progress.
2014-01-04Shutdown cleanly on SIGINTFlorent Le Coz
2013-11-21Let the user choose the poller to use through cmake POLLER optionFlorent Le Coz
Use ccmake, or cmake -i, or cmake -DPOLLER=EPOLL, for example
2013-11-21Use epollFlorent Le Coz
2013-11-03Exit the poller when it handles no connection at allFlorent Le Coz
2013-11-02Basic IRC message parsing/sendingFlorent Le Coz
2013-11-02First step of the connection skeletonFlorent Le Coz
Basic connect, socket creating, polling, recving, etc.