qt6-bb10/tests/auto/network/socket
Thiago Macieira 484a186f50 QNativeSocketEngine/Win: fix getting the datagram destination
Looks like I never even tested this. There were two problems:
 1) when we asked for the recvmsg and sendmsg functions, we used the
    wrong variable (socketDescriptor was still -1)
 2) we extracted the destination addresses, but never set them in the
    QIpPacketHeader object

The added tests confirm that this works on Windows, Linux, Darwin,
FreeBSD. There also seems to be a problem, obtaining the destination
address on an IPv4 socket with a dual-stack sender (I can reproduce that
on FreeBSD, macOS and Windows, plus an old version of Linux).

Task-number: QTBUG-63605
Change-Id: I638cf58bfa7b4e5fb386fffd14ea732bddbc0c42
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2017-11-04 19:12:18 +00:00
..
platformsocketengine Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qabstractsocket Updated license headers 2016-01-21 18:55:18 +00:00
qhttpsocketengine Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qlocalsocket QWindowsPipeReader: fix possible invalid invocation of ReadFileEx() 2017-05-02 05:21:29 +00:00
qsctpsocket Network: Use canonical license headers 2017-02-28 15:34:01 +00:00
qsocks5socketengine tst_QSocks5SocketEngine::downloadBigFile(): Output elapsed time 2017-06-28 17:54:07 +00:00
qtcpserver Convert features.socks5 to QT_[REQUIRE_]CONFIG 2017-09-06 06:50:54 +00:00
qtcpsocket tst_QTcpSocket::suddenRemoteDisconnect - fix flakyness 2017-10-30 11:10:10 +00:00
qudpsocket QNativeSocketEngine/Win: fix getting the datagram destination 2017-11-04 19:12:18 +00:00
socket.pro Modularize configure.json/.pri 2016-09-15 08:23:53 +00:00