[Interest] Qt Events/Signals and Loops (while ... for..)

Abhishek abhishekworld at gmail.com
Wed Aug 29 16:19:46 CEST 2012


Hello all,
I have a program in which on main thread I have TCP server to receive
messages and process on it.
 - on one specific message TCP server start one while infinite loop
 - to stop this loop I have another TCP message

but while in loop I see that I am not able to receive any TCP signals.

I tried adding QCoreApplication::processEvents()  in my loop but nothing
work.

Please let me know the proper way to handle such situation.

Happy Hacking.

-- 
Abhishek
http://thezeroth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120829/96467f36/attachment.html>


More information about the Interest mailing list