diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-11-17 09:38:21 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-11-17 09:38:21 +0100 |
commit | c79009cef8db611f410f358a0556ec980db6b5e7 (patch) | |
tree | cf65ea5b4db2f988c196bca94a4b27b9c726345e /lib/Socket.h | |
parent | 20e7c628347ec0e4a6469b53b98b5309c74a47f0 (diff) | |
download | dabmux-c79009cef8db611f410f358a0556ec980db6b5e7.tar.gz dabmux-c79009cef8db611f410f358a0556ec980db6b5e7.tar.bz2 dabmux-c79009cef8db611f410f358a0556ec980db6b5e7.zip |
Common 5a0689a and c63fb05
Diffstat (limited to 'lib/Socket.h')
-rw-r--r-- | lib/Socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Socket.h b/lib/Socket.h index 33cdc05..08607a5 100644 --- a/lib/Socket.h +++ b/lib/Socket.h @@ -168,6 +168,7 @@ class TCPSocket { bool valid(void) const; void connect(const std::string& hostname, int port, bool nonblock = false); + void connect(const std::string& hostname, int port, int timeout_ms); void listen(int port, const std::string& name); void close(void); |