diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-10-04 12:00:57 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-11-04 19:12:18 +0000 |
commit | 484a186f50de59279cf3c02088273ff114f4cfcf (patch) | |
tree | 20fb181769b34199858e214b7faa38345b816b66 /tests/auto/dbus/qdbusreply | |
parent | d674d227f7ab22aed206d3a7f5c96e5e8dfa48f2 (diff) |
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>
Diffstat (limited to 'tests/auto/dbus/qdbusreply')
0 files changed, 0 insertions, 0 deletions