On Monday 12 March 2007 11:35, Andreev Nikita wrote:
> I found answer. I should manually call recv() in both situations. But
> how I can regularly call recv() w/o threads? With select()?
You can use a timer that calls recv() on timeout. Or maybe subclass the event
loop to integrate recv() calls. Using a timer that expires a couple of times
a second is probably the easiest. That's what I do in my Qt App.
\Niels