PDA

View Full Version : QTcpSocket Writing Data Progress



lwinhtooko
1st November 2010, 08:46
Hi All,

How can I know the progress of the data written using QTcpSocket?
I don't see any signal like QHttp dataReadProgress(int,int).

Thanks,
Lwin Htoo Ko

tbscope
1st November 2010, 08:57
There's the bytesWritten(int) signal

And the QHttp source code of course.

ComaWhite
1st November 2010, 20:10
Your best bet is you create your own imho. Just get the qint64 from the write() function and emit the value through a signal.