summaryrefslogtreecommitdiffstats
path: root/contrib/Socket.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-07-16 15:57:27 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-07-16 15:57:27 +0200
commitde99fe82c3e7738c05799c93192d879f9d56187e (patch)
treecf338c039193c84c13c3fd5fe42e0c38a0aae5a0 /contrib/Socket.h
parent8393d8ca08beb7d4aef39e7292b7e1b31c54e29d (diff)
downloadODR-AudioEnc-de99fe82c3e7738c05799c93192d879f9d56187e.tar.gz
ODR-AudioEnc-de99fe82c3e7738c05799c93192d879f9d56187e.tar.bz2
ODR-AudioEnc-de99fe82c3e7738c05799c93192d879f9d56187e.zip
Update Socket.h and .cpp
Diffstat (limited to 'contrib/Socket.h')
-rw-r--r--contrib/Socket.h2
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);