Hi Wysota!

Yes, thats more elegant for strings!

Is my solution really going to fail for big dataArrays? Wouldn't the system split up / fragment the packet automatically? And my read routine waits till all parts have arrived.

I will have to try or make use of that in the near future. I'll report back.

Of course, if the packet is bigger than the socket buffer, than this fails too. But the default QAbstractSocket::readBufferSize() is 0, which corresponds to no limit.

Joh