4da2dda2aa
This commit adds a new class called QNetworkDatagram that encapsulates the IP packet header and UDP/IP stack metadata along with the actual payload data. It can be used for both receiving as well as sending data. It's called QNetworkDatagram so it can be used by QSctpSocket too, when that lands. [ChangeLog][QtNetwork] Added QNetworkDatagram class, along with new function receiveDatagram in QUdpSocket that returns it and an overload to writeDatagram that can accept it. Change-Id: Iee8cbc07c4434ce9b560ffff13ca467f425ddc3d Reviewed-by: Alex Trotsenko <alex1973tr@gmail.com> Reviewed-by: Richard J. Moore <rich@kde.org>
25 lines
440 B
Prolog
25 lines
440 B
Prolog
TEMPLATE=subdirs
|
|
SUBDIRS=\
|
|
qdnslookup \
|
|
qdnslookup_appless \
|
|
qhostinfo \
|
|
qnetworkproxyfactory \
|
|
qauthenticator \
|
|
qnetworkproxy \
|
|
qnetworkinterface \
|
|
qnetworkdatagram \
|
|
qnetworkaddressentry \
|
|
qhostaddress \
|
|
|
|
winrt: SUBDIRS -= \
|
|
qnetworkproxy \
|
|
qnetworkproxyfactory \
|
|
|
|
osx: SUBDIRS -= \ # QTBUG-41847
|
|
qhostinfo \
|
|
|
|
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
|
|
qauthenticator \
|
|
qhostinfo \
|
|
|