summaryrefslogtreecommitdiff
path: root/src/network/socket_handler.cpp
AgeCommit message (Expand)Author
2014-03-10Remove useless castFlorent Le Coz
2014-03-03Fix a bus error by not going above an array boundaryFlorent Le Coz
2014-02-28Avoid unnecessary copies by recv()ing data directly into the expat bufferFlorent Le Coz
2014-02-27Use scatter/gather io with sendmsg to avoid concataning strings all the timeFlorent Le Coz
2014-02-22Consider that the connect() succeded if errno EISCONNFlorent Le Coz
2014-02-22Save the addrinfo values for reuse on subsequent connect() callFlorent Le Coz
2014-02-22Connection to servers does not block the process anymoreFlorent Le Coz
2014-02-20Do not receive SIGPIPE when send() is called on a closed socketFlorent Le Coz
2014-02-19Send unavailable presence to all muc when the IRC server closes the connectionFlorent Le Coz
2014-02-08Enable TCP keepalive on socketsFlorent Le Coz
2014-02-08Use strerror and log_error instead of perrrorFlorent Le Coz
2014-02-08Be verbose about IRC server connection failures, and handle them properlyFlorent Le Coz
2014-01-13Add missing stdexcept includesFlorent Le Coz
2014-01-04Add missing errno.h includesFlorent Le Coz
2014-01-04Do not throw an exception when recv returns and error, just close the socketFlorent Le Coz
2014-01-04Keep a "connected" state in the SocketHandler classFlorent Le Coz
2013-12-24connect() returns a booleanFlorent Le Coz
2013-12-23Read a variable number of bytes, 4096 by defaultFlorent Le Coz
2013-12-03Use the logger everywhereFlorent Le Coz
2013-11-10Add include for perrorFlorent Le Coz
2013-11-03Exit the poller when it handles no connection at allFlorent Le Coz
2013-11-02Move the basic socket implementation into the SocketHandler classFlorent Le Coz