From 983477084cbb78b00da249a301480175324e93fc Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sat, 21 Dec 2013 21:04:39 +0100 Subject: connect() returns a boolean --- src/network/socket_handler.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network/socket_handler.hpp') diff --git a/src/network/socket_handler.hpp b/src/network/socket_handler.hpp index 6678722..675d247 100644 --- a/src/network/socket_handler.hpp +++ b/src/network/socket_handler.hpp @@ -21,7 +21,7 @@ public: /** * Connect to the remote server, and call on_connected() if this succeeds */ - void connect(const std::string& address, const std::string& port); + bool connect(const std::string& address, const std::string& port); /** * Set the pointer to the given Poller, to communicate with it. */ -- cgit v1.2.3