Quote Originally Posted by tho97 View Post
thank wysota

I set up the QTimer on main gui thread at 1000ms, does it affect the gui, slow it down or freeze it?

QTimer *timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(receiveMsg()));
timer->start(1000);
Depends on what you do in that timeout. Just read the bytes and return, don't do any long processing and you should be ok.