[jdev] discovery services

Julian Missig julian at jabber.org
Wed Mar 23 17:49:38 CST 2005


On 23 Mar 2005, at 18:33, Justin Karneges 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?

Yes. If you really want directed presence, it could in theory be sent  
over the TCP connection. iChat doesn't support directed presence at all.

Julian

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


More information about the JDev mailing list