I have a problem with my TCPSocket. I wan't to send two strings using write.
This is the send code:
Qt Code:
tcpClient.write(("derrors;"+item->text(0)).toAscii().data()); tcpClient.write(("werrors;"+item->text(0)+";;true;").toAscii().data());To copy to clipboard, switch view to plain text mode
This needs to send 2 pieces:
"derrors;00001"
and
"werrors;00001;;true;"
But in fact it sends this: "derrors;00001werrors;00001;;true;"
Even if there is a delay between them.
How can I split this up to two parts?
Bookmarks