Hi.
I'm trying to send some data through a QTcpSocket using QDataStream and a QByteArray.
Reading the data directly results in the string containing QVariant(QByteArray, "TEST")Qt Code:
QByteArray data; //QDataStream stream(mySocket); data = mySocket->readAll();To copy to clipboard, switch view to plain text mode
Using QDataStream gives me an empty String
Can anyone help me
Bookmarks