7#include <QtNetwork/qtnetworkglobal.h>
8#include <QtNetwork/qabstractsocket.h>
9#include <QtNetwork/qhostaddress.h>
14#ifndef QT_NO_UDPSOCKET
27#if QT_VERSION < QT_VERSION_CHECK(7,0,0) && !defined(Q_QDOC)
34#ifndef QT_NO_NETWORKINTERFACE
35 bool joinMulticastGroup(
const QHostAddress &groupAddress);
36 bool joinMulticastGroup(
const QHostAddress &groupAddress,
38 bool leaveMulticastGroup(
const QHostAddress &groupAddress);
39 bool leaveMulticastGroup(
const QHostAddress &groupAddress,
46 bool hasPendingDatagrams()
const;
47 qint64 pendingDatagramSize()
const;
The QAbstractSocket class provides the base functionality common to all socket types.
virtual bool bind(const QHostAddress &address, quint16 port=0, BindMode mode=DefaultForPlatform)
qsizetype size() const noexcept
Returns the number of bytes in this byte array.
const char * constData() const noexcept
Returns a pointer to the const data stored in the byte array.
The QHostAddress class provides an IP address.
SpecialAddress
\value Null The null address object.
The QNetworkDatagram class provides the data and metadata of a UDP datagram.
The QNetworkInterface class provides a listing of the host's IP addresses and network interfaces.
qint64 writeDatagram(const QByteArray &datagram, const QHostAddress &host, quint16 port)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
udpSocket writeDatagram(std::move(datagram).makeReply(replyData))
[0]
serverSocket readDatagram(clientHello.data(), clientHello.size(), &address, &port)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent