The issue is that you are handling the incoming data as if you would get full frames every time you receive something. There's no guarantee for that. Hence you should fix your buffer usage. Cumulate all the data until you know you have a full frame ready to be parsed further.
-
Unsolved QEventLoop wait for a signal
General and Desktop • • Silent_Alex -
Unsolved Q Event Loop understanding
QML and Qt Quick • • texasRanger -
Unsolved QEventLoop - unique event?
General and Desktop • • Dariusz -
Unsolved Nested QEventLoop
General and Desktop • • Phoenox -
Solved Question to QEventLoop
General and Desktop • • robro -
Unsolved QApplication in library project
General and Desktop • • Slane