diff options
author | Bernard Normier <bernard@zeroc.com> | 2010-06-02 18:08:18 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2010-06-02 18:08:18 -0400 |
commit | b4202b6aba7c7b3ee5b21e7338e238718b1bbc0a (patch) | |
tree | 2a7ab6fc3c671d7051ceb55a628209dd95aa62de /cpp/src/Ice/UdpTransceiver.cpp | |
parent | minor change to the way we call GetType in .NET (diff) | |
download | ice-b4202b6aba7c7b3ee5b21e7338e238718b1bbc0a.tar.bz2 ice-b4202b6aba7c7b3ee5b21e7338e238718b1bbc0a.tar.xz ice-b4202b6aba7c7b3ee5b21e7338e238718b1bbc0a.zip |
Fixed bug #4763
Diffstat (limited to 'cpp/src/Ice/UdpTransceiver.cpp')
-rw-r--r-- | cpp/src/Ice/UdpTransceiver.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/Ice/UdpTransceiver.cpp b/cpp/src/Ice/UdpTransceiver.cpp index 4c83e5e3f1b..98a8af8f041 100644 --- a/cpp/src/Ice/UdpTransceiver.cpp +++ b/cpp/src/Ice/UdpTransceiver.cpp @@ -658,6 +658,9 @@ IceInternal::UdpTransceiver::UdpTransceiver(const InstancePtr& instance, const s _write(SocketOperationWrite) #endif { + memset(&_mcastAddr, 0, sizeof(_mcastAddr)); + memset(&_peerAddr, 0, sizeof(_peerAddr)); + _fd = createSocket(true, _addr.ss_family); setBufSize(instance); setBlock(_fd, false); |