On Tue, Sep 6, 2016 at 4:23 PM, Konstantin Shegunov <kshegu...@gmail.com> wrote: > On Mon, Sep 5, 2016 at 7:17 PM, Nilesh Kokane >> In the original example, How does disconnectFromHost() triggers >> readyRead signal? > > > You're blocking the event loop for the thread, so no queued slot invocations > will be made until you return control to the event loop ... and since you > don't have one that runs all the time ... > In the original example, if memory serves me, there's no need to deliver > slot calls, so there's no need to have a thread event loop.
I see. > By the way, in the thread you stared on the Qt forum I did provide you with > a full-fledged working threaded TCP examplethat uses the async API, have you > looked at it? Yes, I had a look at it. Thanks for the code. -- Nilesh Kokane _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest