diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-25 05:22:59 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-25 05:22:59 +0100 |
commit | b855183f0878fac7f09017539b6a4504e00cf6e4 (patch) | |
tree | b98753dac466735020681b7534787b2133fd204c /lib | |
parent | 8ff127f33a6173d612a00a7c3cb4dd25b9bffcd0 (diff) | |
parent | 515959935cd7c741db5aca5b20bfb7611749fbfb (diff) | |
download | dabmod-b855183f0878fac7f09017539b6a4504e00cf6e4.tar.gz dabmod-b855183f0878fac7f09017539b6a4504e00cf6e4.tar.bz2 dabmod-b855183f0878fac7f09017539b6a4504e00cf6e4.zip |
Merge branch 'next' into outputRefactoring
Diffstat (limited to 'lib')
-rw-r--r-- | lib/UdpSocket.cpp | 2 |
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; |