From a5c50a4f262f0a880734623f79d4dc2f1aa8a0a2 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 13 Aug 2019 10:29:39 +0200 Subject: Pull in files from odr-mmbtools-common Replace ASIO by simpler implementation, meaning that the telnet RC now only supports a single connection. Move Log, RC to lib/ --- 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 c3c37e1..8bb7fe1 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, bool nonblock = false); + void connect(const std::string& hostname, int port); void listen(int port, const std::string& name); void close(void); -- cgit v1.2.3