diff options
Diffstat (limited to 'contrib/Socket.h')
-rw-r--r-- | contrib/Socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/Socket.h b/contrib/Socket.h index c3c37e1..8bb7fe1 100644 --- a/contrib/Socket.h +++ b/contrib/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); |