[avahi] Published service still browseable in other machines even if network it's down

Trent Lloyd lathiat at bur.st
Thu Nov 5 08:12:17 PST 2009


On 05/11/2009, at 8:14 PM, José Félix Ontañón wrote:

>>
>
> From what I remember reading the docs, what is supposed to happen is  
> when someone goes to try and use a service that is no longer there,  
> it should fail and immediately flush that entry from the cache so  
> that its no longer an option in the user interface.
>
> Rob
>
> _______________________________________________
> avahi mailing list
> avahi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
>
>
> How do i "try and use" the failing service for flushing the cache  
> entry? I mean, the way i'm doing now it's:
>
> * Slaves publish address and port via avahi
> * When the master discover a slave (via avahi), it makes a  
> connection to slave address:port and call some rpc's (via my own  
> xmlrpc implemented service).
>
> Thanks in advance!

Robin is correct.. if you try run a ServiceResolver (rather than the  
browser), the "POOF" (passive observation of failure) should expire  
it, i think.

Trent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/avahi/attachments/20091106/878381c3/attachment.html 


More information about the avahi mailing list