[avahi] avahi behavior question

Nicholas Andrews tar.bz2 at gmail.com
Wed Jul 12 13:37:16 PDT 2006

I've skimmed through the mDNS-SD internet draft but I would appreciate some
clarification on avahi's behavior with hosts that appear and disappear on
the network.

Here is what I've observed with two machines, 1 avahi-core publishing a
service and 1 avahi-client browsing for them:

   - If I register a service on one machine then browse on another with
   avahi_service_browser_new, I can discover and resolve that service.
   - If I first launch avahi_service_browser_new with a threaded_poll,
   then register a service on the other machine, it doesn't seem to find it.
   - If after discovering the service, I close the avahi-client browser,
   then close the avahi-core publisher and the service it's providing, the next
   time I open the avahi-client browser it finds AND resolves the service (but
   obviously fails to connect to the service I'm advertising).

I'd like to know 1) how do you browse such that new advertisements are
discovered as they appear and 2) how do you stop the caching that seems to
be going on in the third case.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/avahi/attachments/20060712/09911cfd/attachment.html

More information about the avahi mailing list