diff options
Diffstat (limited to 'cpp/src/Ice/Network.cpp')
-rw-r--r-- | cpp/src/Ice/Network.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp index a1710cd34ae..0bc6ff1f114 100644 --- a/cpp/src/Ice/Network.cpp +++ b/cpp/src/Ice/Network.cpp @@ -536,10 +536,6 @@ IceInternal::setReuseAddress(SOCKET fd, bool reuse) void IceInternal::doBind(SOCKET fd, struct sockaddr_in& addr) { -#ifndef _WIN32 - setReuseAddress(fd, true); -#endif - if(bind(fd, reinterpret_cast<struct sockaddr*>(&addr), int(sizeof(addr))) == SOCKET_ERROR) { closeSocketNoThrow(fd); |