diff options
Diffstat (limited to 'cpp/src/Ice/Network.cpp')
-rw-r--r-- | cpp/src/Ice/Network.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp index 4bc90852097..29b987cc449 100644 --- a/cpp/src/Ice/Network.cpp +++ b/cpp/src/Ice/Network.cpp @@ -196,19 +196,6 @@ IceInternal::recvTruncated() #endif } -bool -IceInternal::isMulticast(struct sockaddr_in& addr) -{ - string ip = inetAddrToString(addr.sin_addr); - int i; - istringstream p(ip.substr(0, ip.find('.'))); - if(!(p >> i) || !p.eof() || i < 224 || i > 239) - { - return false; - } - return true; -} - SOCKET IceInternal::createSocket(bool udp) { |