summaryrefslogtreecommitdiff
path: root/src/network/socket_handler.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-12-21 21:04:39 +0100
committerFlorent Le Coz <louiz@louiz.org>2013-12-24 14:03:40 +0100
commit983477084cbb78b00da249a301480175324e93fc (patch)
tree292e998621df4b640e0454d95e6d1082d0910dd8 /src/network/socket_handler.hpp
parent2ecb637f0c4a97643962d1703f208d1b1baf7e9b (diff)
downloadbiboumi-983477084cbb78b00da249a301480175324e93fc.tar.gz
biboumi-983477084cbb78b00da249a301480175324e93fc.tar.bz2
biboumi-983477084cbb78b00da249a301480175324e93fc.tar.xz
biboumi-983477084cbb78b00da249a301480175324e93fc.zip
connect() returns a boolean
Diffstat (limited to 'src/network/socket_handler.hpp')
-rw-r--r--src/network/socket_handler.hpp2
1 files changed, 1 insertions, 1 deletions
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.
*/