Quote Originally Posted by erqsor View Post
That's true, so I'm using QTcpServer and QTcpSockets in background.
But websockets are over the TCP. So I created a QWsServer and a QWsSocket class.
Why don't you just subclass QTcpSocket?

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.
As I said, the docs say so about QIODevice, not QAbstractSocket. The latter reimplements 8 of its superclass methods changing their default behaviour.