On Tue, Jul 10, 2012 at 4:55 AM, Patrick Oppenlander <pattyo.li...@gmail.com <mailto:pattyo.li...@gmail.com>> wrote:

    On 05/07/12 20:19, Ajay Garg wrote:
    Hi all.

    I ran into a issue, as described at
    https://bugs.freedesktop.org/show_bug.cgi?id=51501

    This behaviour is not a bug. It's a side-effect of how MDNS is
    (intentionally) designed.

    Your bug report states that the callback is not called. It will in
    fact be called, it just takes a long time.



Yes, I think it would.
But the callback is not called after 120 seconds. May be after 75 minutes.. but I haven't waited that long enough :)

Also, as per https://tools.ietf.org/html/draft-cheshire-dnsext-multicastdns-15#section-10, the standard says that the timeout is expected to be 120 seconds.

I think you're misunderstanding how the TTLs are used. the 120 seconds refers to host specific records -- i.e. records that are available after a resolve. A client application is not notified when these records expire as they are transient.

The 75 minute TTL is for everything else, including PTR records, which is what you are interested in.

I've never used Telepathy so I can't really offer suggestions on how to proceed with your issue, but keep in mind that DNS-SD was never designed to provide an iron-clad guarantee that a service is available. The only way to determine that a service is genuinely available is to first resolve it, and if the resolve succeeds attempt to connect.

        Patrick

_______________________________________________
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi

Reply via email to