Le Mon, 12 Mar 2007 16:10:23 +0700,
Andreev Nikita <nik@xxxxxxxx> a écrit :
> Hi.
Hi,
> If I write "cl->connect(true)" I see "Connect" message and application
> hangs! If I write "cl->connect(false)" application works fine but I
> never receive neither "Connect" message nor "Disconnect".
You need to retrieve the data manually for blocking connections (by
calling Clientbase::recv() regularly), or you can use threads to let the
connection blocks (but this is not recommended).
See http://camaya.net/api/gloox/index.html#block_conn_sec for details.
Cheers,
Vincent