Why don't you just subclass QTcpSocket?
As I said, the docs say so about QIODevice, not QAbstractSocket. The latter reimplements 8 of its superclass methods changing their default behaviour.I started it, but as I said, I'm surprised that the Qt documentation say we just have to reimplement the writeData and readData functions.
Bookmarks