C++ (Qt)QServerThread::QServerThread(int socketDescriptor, QObject *parent) : QThread(parent), socketDescriptor(socketDescriptor), m_nNextBlockSize(0){ this->moveToThread(this);}