ups it should look like this
out << (out, serverfiles.size());
serverSocket->write(block);
block.clear();
out << (out, serverfiles);
serverSocket->write(block);
block.clear();
out << (out, serverfiles.size());
serverSocket->write(block);
block.clear();
out << (out, serverfiles);
serverSocket->write(block);
block.clear();
To copy to clipboard, switch view to plain text mode
This:
out << (out, serverfiles);
out << (out, serverfiles);
To copy to clipboard, switch view to plain text mode
I've also found it in Qt Assistant-as a way of sending QtStringList in right way.
Generally as you can see when client connects to the server it always looks like this;
server sends QStringList
client sends his QStringList
server sends files
That is way my first code wasn't random in its simple construction.
Bookmarks