qt5base-lts/examples
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
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib Handle short reads in the local sockets example 2016-10-06 21:20:33 +00:00
dbus Polish the complexpingpong example 2015-10-19 10:29:50 +00:00
embedded Examples/Doc snippets: Fix single-character string literals. 2015-10-13 16:37:07 +00:00
gui Fix rasterwindow example 2016-08-04 19:55:14 +00:00
network Examples: Fix stringification of the Qt version 2016-07-02 16:38:39 +00:00
opengl OpenGL legacy example: Fix compilation in namespaced builds. 2016-05-27 20:28:30 +00:00
qmake Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
qpa Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
qtconcurrent Examples/Doc snippets: Fix single-character string literals. 2015-10-13 16:37:07 +00:00
qtestlib delete unreferenced file 2016-05-03 10:25:30 +00:00
sql examples: remove use of obsolete QStyleOption*V<N> typedefs 2015-11-02 18:43:26 +00:00
touch fingerpaint example: Use the maximum diameter for the touch spot by default 2015-05-23 11:28:00 +00:00
widgets Fix compilation of findfiles examples with QT_NO_CLIPBOARD 2016-09-05 04:55:02 +00:00
xml QtXml/htmlnfo example: Remove Nokia-related HTML demo file. 2016-04-06 18:25:29 +00:00
examples.pro Move Qt Core examples under a common subdirectory 2014-10-17 14:57:13 +02:00
README Remove more references to demos. 2011-07-08 15:36:26 +02:00

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.