summaryrefslogtreecommitdiffstats
path: root/lib/Socket.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-09-05 11:06:53 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-09-05 11:06:53 +0200
commit80da341c45f7b1b75a2227f931585633a048ce4e (patch)
tree525417a42b27e071d91cd24a88d6d4c1267330be /lib/Socket.h
parent3e5b7d0544e0a595a375644ae8eaef1b3ffb4b75 (diff)
downloaddabmux-80da341c45f7b1b75a2227f931585633a048ce4e.tar.gz
dabmux-80da341c45f7b1b75a2227f931585633a048ce4e.tar.bz2
dabmux-80da341c45f7b1b75a2227f931585633a048ce4e.zip
Pull lib/Socket from mmbtools common 162c68c
Diffstat (limited to 'lib/Socket.h')
-rw-r--r--lib/Socket.h2
1 files changed, 1 insertions, 1 deletions
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);