From 22fd7d757f11a6c976d7e711fd46cf2ce3247c44 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 26 Nov 2021 16:47:15 +0100 Subject: Common ba7f317, 5a0689a, 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