Good question. I'll try it as soon as I get back to my workplace... I cannot access the server from here unfortunately.

After some more googling, I found some posts where people say that while handling readyRead(), after calling bytesAvailable(), it would be wise to read ALL the available data on the socket in one time. Does someone agree with that? Anyway, it sounds awkward to me: it would be like not having a tcp buffer at all.

Again, I'll try it in the next days. Ciao