qt5base-lts/examples/network
Alex Trotsenko 184d66caa5 QDataStream: handle incomplete reads from QIODevice
This adds a way to resume reading from a stream after a ReadPastEnd error.
This is done by introducing a stream read transaction mechanism that keeps
read data in an internal buffer and rolls it back on failure.

[ChangeLog][QtCore] Added QDataStream startTransaction(),
commitTransaction(), rollbackTransaction(), abortTransaction()
functions to support read transactions.

Task-number: QTBUG-44418
Change-Id: Ibf946e1939a5573c4182fea7e26608947218c2d9
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2016-01-13 16:31:33 +00:00
..
bearermonitor fix usage of wince scope 2015-06-05 10:29:10 +00:00
blockingfortuneclient QDataStream: handle incomplete reads from QIODevice 2016-01-13 16:31:33 +00:00
broadcastreceiver Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
broadcastsender Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
dnslookup Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
doc QDataStream: handle incomplete reads from QIODevice 2016-01-13 16:31:33 +00:00
download Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
downloadmanager Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
fortuneclient QDataStream: handle incomplete reads from QIODevice 2016-01-13 16:31:33 +00:00
fortuneserver QDataStream: handle incomplete reads from QIODevice 2016-01-13 16:31:33 +00:00
googlesuggest Example: Removed the code to handle 'num_entries' info. 2015-03-09 14:21:08 +00:00
http Polish the HTTP example. 2015-11-05 13:54:13 +00:00
loopback Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
multicastreceiver Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
multicastsender Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
network-chat Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
securesocketclient Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
threadedfortuneserver QDataStream: handle incomplete reads from QIODevice 2016-01-13 16:31:33 +00:00
torrent Examples/Doc snippets: Fix single-character string literals. 2015-10-13 16:37:07 +00:00
network.pro Fix building with QT_NO_BEARERMANAGEMENT 2015-10-28 21:25:36 +00:00
README Remove references to demos from docs. 2011-07-05 19:57:54 +02:00

Qt is provided with an extensive set of network classes to support both
client-based and server side network programming.

These examples demonstrate the fundamental aspects of network programming
with Qt.


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