[avahi] Making a client robust
Julien PUYDT
julien.puydt at laposte.net
Thu Sep 4 23:00:47 PDT 2008
Lennart Poettering a écrit :
> The only error code I'd catch to restart things is
> AVAHI_CLIENT_FAILURE with avahi_client_errno() ==
> AVAHI_ERR_DISCONNECTED. That is usually caused by avahi daemon
> restarts. The correct way to handle that is described in the doxygen docs:
>
> http://avahi.org/download/doxygen/main.html
>
> (The part about "How to Write a Client That Can Deal with Daemon
> Restarts")
>
> The other errors are mostly non recoverable. i.e. argument errors and
> similar kind that won't go away by repeating those calls.
What the above link doesn't document well -- hence my failure (see
recent postings) -- is : how does one *update* the data once published?
Snark
More information about the avahi
mailing list