qt5base-lts/tests/auto/network
Alex Trotsenko 6adff20fe6 Fix bytesAvailable() on UDP under Windows
When ::WSAIoctl() reports 1 byte available for reading, we are trying
to peek an incoming datagram to ensure that the data is actually
delivered. But, according to MSDN docs, we are not allowed to pass NULL
as 'lpNumberOfBytesRecvd' parameter to ::WSARecvFrom() call, if
'lpOverlapped' parameter is also NULL.

The case with an empty datagram is fixed accordingly.

Change-Id: Id13038245332d3fb4bc18038d44a7cfd7ce04775
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2017-07-30 13:02:30 +00:00
..
access Use QSharedPointer::create() more 2017-07-19 13:40:42 +00:00
bearer Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00
kernel Stabilize QDnsLookup test 2017-06-28 16:30:21 +00:00
socket Fix bytesAvailable() on UDP under Windows 2017-07-30 13:02:30 +00:00
ssl QAsn1Element - fix toDateTime function 2017-07-18 13:09:16 +00:00
network.pro Re-enable network tests on Mac OS. 2012-04-24 16:06:28 +02:00