Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-27 | SocketHandlers 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-03-24 | Do not send data if we are connected, send it only once we actually are | Florent Le Coz | |
2014-02-28 | Avoid unnecessary copies by recv()ing data directly into the expat buffer | Florent Le Coz | |
2014-02-27 | Use scatter/gather io with sendmsg to avoid concataning strings all the time | Florent Le Coz | |
2014-02-26 | Fix a wrong comment | Florent Le Coz | |
2014-02-22 | Save the addrinfo values for reuse on subsequent connect() call | Florent Le Coz | |
2014-02-22 | Connection to servers does not block the process anymore | Florent Le Coz | |
2014-02-08 | Be verbose about IRC server connection failures, and handle them properly | Florent Le Coz | |
2014-01-04 | Keep a "connected" state in the SocketHandler class | Florent Le Coz | |
2013-12-24 | connect() returns a boolean | Florent Le Coz | |
2013-12-23 | Read a variable number of bytes, 4096 by default | Florent Le Coz | |
2013-11-02 | Move the basic socket implementation into the SocketHandler class | Florent Le Coz | |
(that is, the read/write/connect/etc) Because this code is actually common for both the IrcClient and XmppComponent class. These two classes have to implement some higher level callbacks (parsing the data provided in the buffers, doing stuff when the connection is done) instead of doing the read/write/connect low level things. | |||
2013-11-02 | First step of the connection skeleton | Florent Le Coz | |
Basic connect, socket creating, polling, recving, etc. |