qt5base-lts/examples/network/blockingfortuneclient
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
..
blockingclient.cpp Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
blockingclient.h Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
blockingfortuneclient.pro clean up example project files, mostly wrt QT+=widgets 2012-12-17 14:08:17 +01:00
fortunethread.cpp QDataStream: handle incomplete reads from QIODevice 2016-01-13 16:31:33 +00:00
fortunethread.h Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
main.cpp Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00