summaryrefslogtreecommitdiff
path: root/src/network/tcp_socket_handler.cpp
AgeCommit message (Collapse)Author
2015-02-21Use a timer to try reconnecting to the XMPP server only each 2 secondsFlorent Le Coz
When the connection is lost, immediately try to reconnect, then try to reconnect every 2 seconds. This is much better than the previous “Try to re-connect as fast as possible”.
2014-07-15Merge branch 'v1'Florent Le Coz
Conflicts: src/network/socket_handler.hpp
2014-07-15Send the reason of the connection close to the userFlorent Le Coz
2014-07-03Move some members of TCPSocketHandler into the SocketHandler classFlorent Le Coz
2014-07-02Add a level of inheritance above SocketHandlerFlorent Le Coz
SocketHandler has been renamed to TCPSocketHandler SocketHandler is now a simple interface with a few methods, used only by Poller. This way we can inherite from the new SocketHandler class, to handle other types of sockets, and still make them manageable by the poller without any change in the Poller class.