Can I clear data on tcpSocket without read it ?

I tried like this but still not working.
Qt Code:
  1. qDebug() << myTcpSocket->size(); //result 3229696
  2. myTcpSocket->reset();
  3. qDebug() << myTcpSocket->size(); //result 3229696
To copy to clipboard, switch view to plain text mode 

If like this, is working. But, make a delay if data size is big.
Qt Code:
  1. qDebug() << myTcpSocket->size(); //result 3229696
  2. myTcpSocket->readAll();
  3. qDebug() << myTcpSocket->size(); //result 0
To copy to clipboard, switch view to plain text mode 

Thank's before..