powered by Jive Software

Point to point xmpp communication

Hello All,

I have a requirement to implement point to point communication using XMPP.

For example clientA should talk directly to clientB

ClientA <------> ClientB, it should not go through server ( not like ClientA<----Server---->ClientB)

Is it possible to achive this (ClientA <------> ClientB) using Smack API?

Regards,

suren

Hi,

I know you can do certain things using peer-to-peer, such as file transfers. In the XMPP protocol they refer to that as “out-of-band”, which you can see an example of in XEP-0265. Smack does support peer-to-peer file transfers. However, I think with any of these features you will still need a server to authenticate users and possibly coordinate other protocol related stuff at a minimum.