diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-07-08 14:54:43 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-07-08 14:54:43 +0200 |
commit | 30f226d61dde209873ee157c031f63b32856de7a (patch) | |
tree | 8f77f004243bb3f11c25c3aa6494818d2a5ee8d9 /lib/Socket.h | |
parent | c8c9d5abf8238c3531ecae8fb272fdf5bbffd336 (diff) | |
download | dabmod-30f226d61dde209873ee157c031f63b32856de7a.tar.gz dabmod-30f226d61dde209873ee157c031f63b32856de7a.tar.bz2 dabmod-30f226d61dde209873ee157c031f63b32856de7a.zip |
Socket: fix TCPClient
Diffstat (limited to 'lib/Socket.h')
-rw-r--r-- | lib/Socket.h | 2 |
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); |