qt6-bb10/src/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 QNetworkReply::ProtocolFailure in HTTP/2 failures 2017-05-08 09:39:16 +00:00
bearer Merge remote-tracking branch 'origin/5.8' into 5.9 2017-02-16 21:51:11 +01:00
doc Doc: Remove platform support table for bearer management 2017-05-12 09:44:54 +00:00
kernel Doc: Tweak documentation about a default QHostAddress 2017-06-12 14:53:06 +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
configure.json Fix build without features.networkproxy 2017-04-28 12:33:17 +00:00
configure.pri configure: make library sources fail more verbosely 2016-12-30 10:25:38 +00:00
network.pro Android: Bearer jar shouldn't be a dependency if disabled 2017-03-17 19:25:43 +00:00