Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QWebSocket sendTextMessage strange behaviour
___..Alex..___ last edited by ___..Alex..___
I decided to use the QWebSocket for Client/Server communication. When sending a QString through the socket it seems that the socket is not cleaned. The QString on server side is appended with new data. It is exactly the same behaviour like mentioned here https://bugreports.qt.io/browse/QTBUG-55506.
Is there a workaround? I cannot call clear somewhere (or at least I do not know how...)
Hi and welcome to devnet,
What version of Qt are you using ?
___..Alex..___ last edited by
sorry for the late reply.
I'm using 5.12.2 on an AMD Linux machine.
I don't see such a behavior here with 5.9 nor 5.12 - please provide a minimal example.