qt5base-lts/examples/network/fortuneclient
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
..
client.cpp QDataStream: handle incomplete reads from QIODevice 2016-01-13 16:31:33 +00:00
client.h QDataStream: handle incomplete reads from QIODevice 2016-01-13 16:31:33 +00:00
fortuneclient.pro clean up example project files, mostly wrt QT+=widgets 2012-12-17 14:08:17 +01:00
main.cpp Polish the fortune server/client examples. 2015-12-03 15:03:26 +00:00