[jdev] Any quick/ simple c/c++ libraries/tutorials?

Jack Moffitt jack at chesspark.com
Fri Oct 31 12:19:30 CDT 2008


> Here in the examples for example basic :
> http://tinyurl.com/62gtkk
>
> here where do you specify the server (jabber server etc.)?

It is passed as a command line argument just like it says in the
usage.  It is a JID which is then parsed for the domain.  libstrophe
will then do an SRV DNS lookup to find the correct machine and port to
connect to.

> i am thinking if i was talking to a gtalk server then I would need to
> atleast specify the server name / port etc. ?

No.  You only need the JID thanks to XMPP's use of SRV records.

jack.



More information about the JDev mailing list