Re: Newbie problem
From: Lou <lou@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 18 Oct 2005 16:20:45 +0200
Addendum:
I saw the remark in the Bot example text about it not being complete,
that one needs to implement a ConnectionListener.  My initial program
does.  Maybe a complete, working, Bot example program should be linked
to from that page (to save cutting and pasting).

I was also wondering whether gloox is threadsafe.  Can I spawn a thread
to handle the event loop and then send messages asynchronously through the
same client object in my main thread?  Is there example code to illustrate
that?  I'll probably be using the boost thread class, but other thread
libs should convey the needed information.

I have the functionality that I need in Perl using the Net::Jabber
module, but I want to do this in C++ to reduce memory footprint on a
resource-constrained device.


On Tue, Oct 18, 2005 at 08:11:47AM -0500, Lou wrote:
> 
> Before spending too many cycles trying to find out what I have done
> wrong, I went ahead and cut-and-pasted the Bot example from the web
> site because that should just work and would not be affected by any
> programming errors on my part.  As is, the Bot program exits with an
> error about not being able to resolve example.net, which is
> understandable.  I changed the JID and password to my own, and the Bot
> program now exihibits the same behaviour as my own.



-- 
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx