[Qt-interest] Help with socketpair and QFiles
Stephen Collyer
scollyer at netspinner.co.uk
Mon Apr 12 11:32:13 CEST 2010
On 9 April 2010 16:10, David Boosalis <david.boosalis at gmail.com> wrote:
> We compare two applications connected to the same server running on the
> same cllient desktop. The not QT application is written in C++ for both its
> server and desktop clients, we do not have source code for non Qt apps -
> just exectubales. The Qt application using QTcpSpockets starts to lag and
> the lag grows by minutes as time goes on, like the data is being queued up.
> There is a lot of data going though the system. If I use QUdpSockets there
> is no lag at all, but UDP is not viable at this time. If I slow down the
> data throughput the lag also disappears. The lag occurs on Windows XP and
> maybe Visita. Not sure about Linux desktop
>
> This sounds like you are not responding to, say, the readyRead() signal in
a timely manner, and Qt is buffering the socket data.
Does the application's memory usage increase at the same time ?
--
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100412/fd3c9011/attachment.html
More information about the Qt-interest-old
mailing list