aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-25 05:22:59 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-25 05:22:59 +0100
commitb855183f0878fac7f09017539b6a4504e00cf6e4 (patch)
treeb98753dac466735020681b7534787b2133fd204c /lib
parent8ff127f33a6173d612a00a7c3cb4dd25b9bffcd0 (diff)
parent515959935cd7c741db5aca5b20bfb7611749fbfb (diff)
downloaddabmod-b855183f0878fac7f09017539b6a4504e00cf6e4.tar.gz
dabmod-b855183f0878fac7f09017539b6a4504e00cf6e4.tar.bz2
dabmod-b855183f0878fac7f09017539b6a4504e00cf6e4.zip
Merge branch 'next' into outputRefactoring
Diffstat (limited to 'lib')
-rw-r--r--lib/UdpSocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/UdpSocket.cpp b/lib/UdpSocket.cpp
index 570da5f..e711577 100644
--- a/lib/UdpSocket.cpp
+++ b/lib/UdpSocket.cpp
@@ -88,7 +88,7 @@ int UdpSocket::reinit(int port, const std::string& name)
address.setAddress(name);
address.setPort(port);
- if (bind(listenSocket, address.getAddress(), sizeof(sockaddr_in)) == SOCKET_ERROR) {
+ if (::bind(listenSocket, address.getAddress(), sizeof(sockaddr_in)) == SOCKET_ERROR) {
setInetError("Can't bind socket");
::close(listenSocket);
listenSocket = INVALID_SOCKET;