I have problem that I only get 16 bytes from my QTcpSocket where I obtained transmission Client-server. I would like to have ability to send more data at one time ( longer than 16 bytes).
I send data by (length is here about 33):
if(socket->isWritable())
{
socket->write(frame,lenght);
socket->waitForBytesWritten();
}
And recieve:
socket->setReadBufferSize(5000);
QString message = socket->readAll();
Has anybody know why the length is limited?