From 80da341c45f7b1b75a2227f931585633a048ce4e Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 5 Sep 2019 11:06:53 +0200 Subject: Pull lib/Socket from mmbtools common 162c68c --- lib/Socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Socket.h') diff --git a/lib/Socket.h b/lib/Socket.h index 8bb7fe1..c3c37e1 100644 --- a/lib/Socket.h +++ b/lib/Socket.h @@ -162,7 +162,7 @@ class TCPSocket { TCPSocket& operator=(TCPSocket&& other); bool valid(void) const; - void connect(const std::string& hostname, int port); + void connect(const std::string& hostname, int port, bool nonblock = false); void listen(int port, const std::string& name); void close(void); -- cgit v1.2.3