diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-09-05 11:07:37 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-09-05 11:07:37 +0200 |
commit | 579c88d151d55ea9bf302fe7006cbee8c8fa1d4e (patch) | |
tree | a4498cf68ffdad6887653ce0b1d520c99c7916b5 /contrib/Socket.h | |
parent | 29d602422cea4e9f2a59b8cefdb17b3862642e01 (diff) | |
download | ODR-AudioEnc-579c88d151d55ea9bf302fe7006cbee8c8fa1d4e.tar.gz ODR-AudioEnc-579c88d151d55ea9bf302fe7006cbee8c8fa1d4e.tar.bz2 ODR-AudioEnc-579c88d151d55ea9bf302fe7006cbee8c8fa1d4e.zip |
Pull lib/Socket from mmbtools common 162c68c
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 8bb7fe1..c3c37e1 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); + void connect(const std::string& hostname, int port, bool nonblock = false); void listen(int port, const std::string& name); void close(void); |