oh,thank's,it's my fault,QTcpSocket::bytesAvailable() return qint64 but i used quint16 !
Do you really want to block your entire program while 18MB is sent?
yes,in this project is not care program is block...