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")
Using QDataStream gives me an empty String :mad:
Can anyone help me
Printable View
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")
Using QDataStream gives me an empty String :mad:
Can anyone help me
Ok I've figured it out. The problem was in the sending. As this was a testing program I forgot to send the data using QDataStream. :o