sample code
From: "Steve Scott" <sscott@xxxxxxxxxx>
Date: Fri, 30 Dec 2005 17:35:08 +0100
Hi:

I'm a gloox newbie. All the sample code (in the src\tests folder)
released with version 0.74 seems to call the Client's connect
method in blocking mode; i.e., 

   j = new Client( jid, "hurkhurks" );
    .
    .
    .
   j->connect();

The default value is block=true for the connect() method.

In all these examples, the only way to send a message seems
to be as a response to receiving a message...?

If I want to be able to send a message without first having
to receive one, wouldn't I need to call
   j->connect(false);

Maybe I just got it wrong. But, if I'm right, is
there some example code that shows me how to write
a application that doesn't depend on receiving
a message in order to send one?

thanks.

steve scott
sscott at san dot rr dot com



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