There is more than one path that leads to the same goal... I don't like the part where you read the tokens as you expect to always get one line at a time which is a false assumption. You should have a while(m_socket->canReadLine()) loop there. Also the splitting regexp seems odd.
Bookmarks