diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2010-05-05 14:20:07 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2010-09-01 12:24:36 (GMT) |
commit | 2abb3642bce6e4b32f44c3724dc8fcc9acf9976c (patch) | |
tree | 132629166a683736e172bd5d7222f11c44f6c216 /src/network/socket/qhttpsocketengine_p.h | |
parent | e6b836293346d81c926bf17c5e9b128c969dc672 (diff) | |
download | Qt-2abb3642bce6e4b32f44c3724dc8fcc9acf9976c.zip Qt-2abb3642bce6e4b32f44c3724dc8fcc9acf9976c.tar.gz Qt-2abb3642bce6e4b32f44c3724dc8fcc9acf9976c.tar.bz2 |
Implementation of multicast API for the HTTP and SOCKS5 engines
We don't support multicast via proxy, so these function just return
false.
Diffstat (limited to 'src/network/socket/qhttpsocketengine_p.h')
-rw-r--r-- | src/network/socket/qhttpsocketengine_p.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/network/socket/qhttpsocketengine_p.h b/src/network/socket/qhttpsocketengine_p.h index 5051def..18add3c 100644 --- a/src/network/socket/qhttpsocketengine_p.h +++ b/src/network/socket/qhttpsocketengine_p.h @@ -102,6 +102,13 @@ public: qint64 write(const char *data, qint64 len); #ifndef QT_NO_UDPSOCKET + bool joinMulticastGroup(const QHostAddress &groupAddress, + const QHostAddress &sourceAddress, + const QNetworkInterface &interface); + bool leaveMulticastGroup(const QHostAddress &groupAddress, + const QHostAddress &sourceAddress, + const QNetworkInterface &interface); + qint64 readDatagram(char *data, qint64 maxlen, QHostAddress *addr = 0, quint16 *port = 0); qint64 writeDatagram(const char *data, qint64 len, const QHostAddress &addr, |