diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-09-05 10:57:37 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-09-05 10:57:37 +0200 |
commit | 57a8fcd660b1f4107f01e12bb103888400abb4ba (patch) | |
tree | 942d9b6befcc2314c89b83ac6160b6d9ee08d337 /lib/Socket.h | |
parent | cb8cd168a26477b5c01e73e53b727bf8f5b225db (diff) | |
download | dabmod-57a8fcd660b1f4107f01e12bb103888400abb4ba.tar.gz dabmod-57a8fcd660b1f4107f01e12bb103888400abb4ba.tar.bz2 dabmod-57a8fcd660b1f4107f01e12bb103888400abb4ba.zip |
Pull lib/Socket from mmbtools common code
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); |