[jdev] discovery services

Julian Missig julian at jabber.org
Wed Mar 23 18:20:46 CST 2005

On 23 Mar 2005, at 19:13, Anthony Ortiz wrote:

> Okay, I'm confused... am I to understand that the jabber protocol can
> be implemented over UDP/TCP-multicast?? I can see now how it would
> sort of work... is there a JEP on this??? I would assume that it would
> follow something along these lines :
> 1) client broadcasts its presence (<stream:stream
> to="SomeJabberServer"> stanza I assume)
> 2) jabber server ("SomeJabberServer") opens TCP/IP connection with  
> client
> 3) ... authentication stuff happens here over dedicated TCP/IP
> connection (don't need this stuff broadcasted) ...
> 4) TCP/IP connection terminated
>> From this point on, I assume that everything else is handled via UDP
> or multicast, except for messaging and file xfers and anything else
> that is direct? Or am I just waaaaaaaaaaaaaaay off here??? If so,
> would someone write down a step-by-step scenario of how this would
> work?

iChat basically already does Jabber without a Jabber server. It is  
not /technically/ Jabber because we define Jabber as having servers,  
but it is possible. We're not talking about involving a Jabber Server  
at all.

1) Client broadcasts presence using Multicast DNS and DNS-Service  
2) All clients on local network receive these presence packets as  
defined by those protocols
3) when user wants to send a message to another user, open a TCP  
4) send messages over that direct TCP client-to-client connection
5) TCP client-to-client connection terminated

Multicast DNS and DNS-SD are typically UDP, not TCP.

This is *NOT* currently a defined protocol in any way, shape, or  
form. iChat does something along these lines. We're currently talking  
about IF we were to define such a thing how it would be done.

Justin and I were arguing about what would happen at my step 4,  
except Justin's idea for how these steps happened seems to have been  
quite different from mine, which is why we both wasted so much time  
on it. :)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2102 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20050323/8a6c9012/attachment-0002.bin>

More information about the JDev mailing list