qt5base-lts/examples/corelib/ipc
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
..
doc Update copyright headers 2015-02-11 06:49:51 +00:00
localfortuneclient Handle short reads in the local sockets example 2016-10-06 21:20:33 +00:00
localfortuneserver Handle short reads in the local sockets example 2016-10-06 21:20:33 +00:00
sharedmemory Doc: Replaced Trolltech logo with Qt logo 2016-02-03 12:37:37 +00:00
ipc.pro fix usage of wince scope 2015-06-05 10:29:10 +00:00
README Move Qt Core examples under a common subdirectory 2014-10-17 14:57:13 +02:00

These examples demonstrate IPC support in Qt.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.