Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is XMPP peer to peer connection without server possible?

Tags:

xmpp

I am using libjingle for my XMPP connection. Can I connect two XMPP clients without having server in between. If yes how can I do that if no then why it is not possible?

XMPP client1 <---------Direct Audio/Video/IM----------> XMPP client2

like image 454
Alam Avatar asked Apr 12 '11 09:04

Alam


1 Answers

You may not be able to do this directly with libjingle, but a protocol specification exists in the form of XEP-0174. The gist is that you publish your presence and connection information over Multicast DNS (e.g. Bonjour), then connect directly when you want to chat. Apple's iChat implements essentially this approach for its peer-to-peer mode.

like image 90
Joe Hildebrand Avatar answered Sep 30 '22 11:09

Joe Hildebrand