qt5base-lts/tests/auto/network/socket
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
..
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 Continue to blacklist the utun interfaces on macOS 2017-06-06 22:53:04 +00:00
qtcpsocket Properly use the "process" feature 2017-02-27 15:44:46 +00:00
qudpsocket Fix bytesAvailable() on UDP under Windows 2017-07-30 13:02:30 +00:00
socket.pro Modularize configure.json/.pri 2016-09-15 08:23:53 +00:00