aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/Socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/Socket.h')
-rw-r--r--contrib/Socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/Socket.h b/contrib/Socket.h
index 33cdc05..08607a5 100644
--- a/contrib/Socket.h
+++ b/contrib/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);