[jdev] discovery services
Anthony Ortiz
anthonypaulo at gmail.com
Wed Mar 23 18:13:07 CST 2005
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?
cheers!
Anthony
On Wed, 23 Mar 2005 15:33:39 -0800, Justin Karneges
<justin-keyword-jabber.093179 at affinix.com> wrote:
> On Wednesday 23 March 2005 02:07 pm, Julian Missig wrote:
> > I don't mean to be presumptuous or rude, but I really don't think
> > you've thought through DNS-SD and how peer-to-peer Jabber would work
> > with it nearly enough...
>
> Probably not. I was just trying to see how much of our own protocol we could
> re-use. I had not yet considered "oob"erizing presence.
>
> > There's a local subnet. It has 50 users on it. How are you expecting
> > that those 50 users will get one another's presence? DNS-SD means
> > that we can treat the "service" as a presence packet (because really,
> > it is advertising the availability of a service) and advertise our
> > presence as a DNS-SD service. There's no need to open up 50 TCP
> > connections and send <presence/> packets to all 50. It's all handled
> > by Multicast DNS for us. There's no "Jabber connection" taking place
> > until one user wants to send a message to another--then we're opening
> > a TCP socket and sending a <message>.
>
> Does this mean that <presence> is never delivered over a Jabber connection,
> even if there is an existing connection due to some message exchanging? What
> about directed presence?
>
> -Justin
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mail.jabber.org/mailman/listinfo/jdev
>
More information about the JDev
mailing list