summaryrefslogtreecommitdiffstats
path: root/lib/Socket.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-07-08 14:54:43 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-07-08 14:54:43 +0200
commit30f226d61dde209873ee157c031f63b32856de7a (patch)
tree8f77f004243bb3f11c25c3aa6494818d2a5ee8d9 /lib/Socket.h
parentc8c9d5abf8238c3531ecae8fb272fdf5bbffd336 (diff)
downloaddabmod-30f226d61dde209873ee157c031f63b32856de7a.tar.gz
dabmod-30f226d61dde209873ee157c031f63b32856de7a.tar.bz2
dabmod-30f226d61dde209873ee157c031f63b32856de7a.zip
Socket: fix TCPClient
Diffstat (limited to 'lib/Socket.h')
-rw-r--r--lib/Socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Socket.h b/lib/Socket.h
index 8bb7fe1..c3c37e1 100644
--- a/lib/Socket.h
+++ b/lib/Socket.h
@@ -162,7 +162,7 @@ class TCPSocket {
TCPSocket& operator=(TCPSocket&& other);
bool valid(void) const;
- void connect(const std::string& hostname, int port);
+ void connect(const std::string& hostname, int port, bool nonblock = false);
void listen(int port, const std::string& name);
void close(void);