powered by Jive Software

XMPP ... need any port to be open?

Hi,

I believe that Smack is using XMPP protocol (RFC3920), in order to setup a client on my local machine … should I open any port (lets say if i’'m using Google Talk/ Jabber)?

If I’'m setting up a server based on XMPP standard, how would the case differs?

And lastly:“When is the latest version of Smack is out? Kind of nervous wheather my codes will works for Google Talk …”.

Thanks in advance .[Smack is really cool, frankly speaking!]

Regards,

Avatar Ng

Hi Avatar,

I believe that Smack is using XMPP protocol (RFC3920), in order to setup a client on my

local machine … should I open any port (lets say if i’'m using Google Talk/ Jabber)?

XMPP (Jabber) clients and servers, like url=http://www.jivesoftware.org/messenger/Jive Messenger[/url], use port 5222 to talk to one another, so you will need to have that port open on your firewall.

If I’'m setting up a server based on XMPP standard, how would the case differs?

Smack is an XMPP Java client library which should allow you to connect to just about any XMPP server.

And lastly:"When is the latest version of Smack is out? Kind of nervous wheather my

codes will works for Google Talk …"

The latest version of Smack is 1.5.1, but it does not have support for TLS and SASL which are required to connect to Google Talk. However, Gato is feverishly working on adding those features to Smack and there should be a new version out soon that will allow you to connect to Google Talk; you can look at url=http://www.jivesoftware.org/forums/thread.jspa?threadID=15578this thread[/url] and url=http://www.jivesoftware.org/forums/thread.jspa?threadID=15592this chat transcript[/url] for more information.

Hope that helps,

Ryan