summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/UdpTransceiver.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2008-01-31 13:36:06 -0330
committerDwayne Boone <dwayne@zeroc.com>2008-01-31 13:36:06 -0330
commitf3ddaa5d22046bd0d9dd40a1a84cea2fad4e59ac (patch)
tree4380e74b7c1de6532ddcbfbb10fcf8fadafc9d4a /cpp/src/Ice/UdpTransceiver.cpp
parentbug 2412: python bug with embedded nulls in strings (diff)
downloadice-f3ddaa5d22046bd0d9dd40a1a84cea2fad4e59ac.tar.bz2
ice-f3ddaa5d22046bd0d9dd40a1a84cea2fad4e59ac.tar.xz
ice-f3ddaa5d22046bd0d9dd40a1a84cea2fad4e59ac.zip
Fixed bug in IPv4 udp multicast
Diffstat (limited to 'cpp/src/Ice/UdpTransceiver.cpp')
-rw-r--r--cpp/src/Ice/UdpTransceiver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/UdpTransceiver.cpp b/cpp/src/Ice/UdpTransceiver.cpp
index 10e863ad359..4d2b904c185 100644
--- a/cpp/src/Ice/UdpTransceiver.cpp
+++ b/cpp/src/Ice/UdpTransceiver.cpp
@@ -512,11 +512,11 @@ IceInternal::UdpTransceiver::UdpTransceiver(const InstancePtr& instance, const s
{
setReuseAddress(_fd, true);
+#ifdef _WIN32
//
// Windows does not allow binding to the mcast address itself
// so we bind to INADDR_ANY (0.0.0.0) instead.
//
-#ifdef _WIN32
struct sockaddr_storage addr;
getAddressForServer("", port, addr, instance->protocolSupport());
doBind(_fd, addr);