[avahi] Problems when avahi deamon is not startet on startup

Lennart Poettering lennart at poettering.net
Sun Aug 17 14:01:39 PDT 2008

On Fri, 08.08.08 21:58, Nathan Huesken (avahi at lonely-star.org) wrote:

> Hi,
> I am currently trying around with avahi. My test client works, but
> only if the avahi daemon is already started when the test client
> starts.

Yes, the client needs the server to work. Is that surprising?

> I am watching the timeouts, avahi requests. When I start the test
> client with no avahi deamon running, the only timeout that remains
> is set to tv_sev=0 and tv_usec=0 (midnight?). This timeout of course
> is not called (for quite a while), so avahi has no chance of
> retrying to connect to the deamon.

tv_sec=tv_usec=0 is 1 jan, 1970. We use it to have time events
dispatched as soon as possible, since normally time events are
dispatched as soon as the time they are created with is past.


Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4

More information about the avahi mailing list