Le Mon, 12 Mar 2007 17:00:12 +0700,
Andreev Nikita <nik@xxxxxxxx> a écrit :
> Thanks for the useful link. For some reason I didn't find it myself.
> Now I understand why my application hangs, but why I don't receive
> "Connect" when I use "cl->connect(false)"? I found that onConnect is
> never called in this case.
When the connection blocks, it will wait for incoming data, and treat
it as soon as it is received. Now if it doesn't block, it doesn't know
whether it has received data or not, and so doesn't know what's going
on until you have it check it for you.
You need to explicitly ask for this data to be treated by Gloox.
Vincent