aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Socket.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2021-11-26 16:47:15 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2021-11-26 16:47:15 +0100
commit22fd7d757f11a6c976d7e711fd46cf2ce3247c44 (patch)
tree782bd87ef76cee4bbeb723ff1a99cd2e3ae6d408 /lib/Socket.h
parent9a5cbe7ed3def3eb465174531b530c49a6203a13 (diff)
downloaddabmod-22fd7d757f11a6c976d7e711fd46cf2ce3247c44.tar.gz
dabmod-22fd7d757f11a6c976d7e711fd46cf2ce3247c44.tar.bz2
dabmod-22fd7d757f11a6c976d7e711fd46cf2ce3247c44.zip
Common ba7f317, 5a0689a, c63fb05
Diffstat (limited to 'lib/Socket.h')
-rw-r--r--lib/Socket.h1
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);