diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2010-05-07 14:06:55 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2010-09-01 12:24:40 (GMT) |
commit | 47d66c7855b9c315db29c82f4306de1864384ff7 (patch) | |
tree | 2c9bdb3348154b3ff9191f96f8bbb0fef588b591 /src/network/socket/qnativesocketengine.cpp | |
parent | 44862c25999736155e904c36dbcd84bcd2dad63c (diff) | |
download | Qt-47d66c7855b9c315db29c82f4306de1864384ff7.zip Qt-47d66c7855b9c315db29c82f4306de1864384ff7.tar.gz Qt-47d66c7855b9c315db29c82f4306de1864384ff7.tar.bz2 |
Remove support for single-source multi-cast
It's not supported everywhere, so remove it for now until the need to
re-add it arises.
Diffstat (limited to 'src/network/socket/qnativesocketengine.cpp')
-rw-r--r-- | src/network/socket/qnativesocketengine.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/network/socket/qnativesocketengine.cpp b/src/network/socket/qnativesocketengine.cpp index d4092b6..ae2cad2 100644 --- a/src/network/socket/qnativesocketengine.cpp +++ b/src/network/socket/qnativesocketengine.cpp @@ -650,28 +650,26 @@ int QNativeSocketEngine::accept() \since 4.8 */ bool QNativeSocketEngine::joinMulticastGroup(const QHostAddress &groupAddress, - const QHostAddress &sourceAddress, const QNetworkInterface &interface) { Q_D(QNativeSocketEngine); Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::joinMulticastGroup(), false); Q_CHECK_STATE(QNativeSocketEngine::joinMulticastGroup(), QAbstractSocket::BoundState, false); Q_CHECK_TYPE(QNativeSocketEngine::joinMulticastGroup(), QAbstractSocket::UdpSocket, false); - return d->nativeJoinMulticastGroup(groupAddress, sourceAddress, interface); + return d->nativeJoinMulticastGroup(groupAddress, interface); } /*! \since 4.8 */ bool QNativeSocketEngine::leaveMulticastGroup(const QHostAddress &groupAddress, - const QHostAddress &sourceAddress, const QNetworkInterface &interface) { Q_D(QNativeSocketEngine); Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::leaveMulticastGroup(), false); Q_CHECK_STATE(QNativeSocketEngine::leaveMulticastGroup(), QAbstractSocket::BoundState, false); Q_CHECK_TYPE(QNativeSocketEngine::leaveMulticastGroup(), QAbstractSocket::UdpSocket, false); - return d->nativeLeaveMulticastGroup(groupAddress, sourceAddress, interface); + return d->nativeLeaveMulticastGroup(groupAddress, interface); } /*! |