qt5base-lts/examples/corelib
Sérgio Martins dd00f6dd91 Handle short reads in the local sockets example
Protection against short reads was already half implemented,
blockSize was being sent by the server but never used by the client.

Also, blockSize was bumped to quint32: If you're in a position where
short reads can happen then quint16 is probably not enough to hold the
size of your data. On Linux I could only reproduce short reads for
messages > 500K.

Change-Id: I191a3d781da1d8a119debbdafae641c8340a1da2
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2016-10-06 21:20:33 +00:00
..
ipc Handle short reads in the local sockets example 2016-10-06 21:20:33 +00:00
json Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
threads Doc: Fix typo in the Semaphores Example 2016-08-11 08:27:36 +00:00
tools fix example installs 2016-05-03 10:25:33 +00:00
corelib.pro Move Qt Core examples under a common subdirectory 2014-10-17 14:57:13 +02:00