From c79009cef8db611f410f358a0556ec980db6b5e7 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 17 Nov 2021 09:38:21 +0100 Subject: Common 5a0689a and c63fb05 --- lib/Socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Socket.h') 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); -- cgit v1.2.3