Hi
i want send data from client to server index by index.
but client packet all of index
i put client code and server result, and sorry for my weak english
Client Code:
QStringList ql={"1","2","3","4"};
foreach (QString tmp, ql) {
socket->write(tmp.toUtf8()+"\n");
socket->flush();
}
Server Result:
"1\n2\n3\n4\n"