how to connect gloox to..
From: "Radim Roska" <radim.roska@xxxxxxxxx>
Date: Wed, 31 Oct 2007 12:19:13 +0100 (CET)
*Hi,
i know this question is not exactly gloox specific. But on the other hand
you will surely know...
im not experienced programmer :).

I want to implement my jabber client modulary, but im thinking how to
implement controler. There will be object ( gloox ) that will be connected
to jabber server and will recieve / send msgs etc. On the other hand there
will be object ( somehow working with ncurses lib ) that will get user input
and display jabber "output"...and finally ofcourse object that will
read,modify configuration ( in xml file ).

Im asking how to implement that controler. Please tell me the best way..i
want to learn a lot from this project and at the same way i want it most
simple ( because simple is beatiful ;))

i see 2 ways...
1. using threads...every object will be one thread (except xml i guess) and
they will somehow cooperate :)...not know how right now...i know about
threads just a little (that will change ;)
2. controler will contain cycle that will call recv and operate with user
inputs every cycle...

btw i want to make it in ncurses..i found out that there is c++ wrapper for
ncurses..but there's NOWHERE any documentation...do you know any project
with ncurses++  or some material?

Thanks for any kind of answer ;))

btw gloox library is really SOMETHING :)...i hope someday i will be capable
to do something so useful too ;))

Radim
*