[avahi] Problems when avahi deamon is not startet on startup
avahi at lonely-star.org
Tue Aug 12 03:40:27 PDT 2008
While putting together an code example, I found a bug in my code.
I disable the timeouts after I called the callback. That way a timeout can not reenable itself.
Fixing the bug solved the problem.
Thanks for the reply (and making me put together an example :) ).
On Tue, Aug 12, 2008 at 06:26:51PM +0800, Trent Lloyd wrote:
> Hi Nathan,
> On 09/08/2008, at 3:58 AM, Nathan Huesken 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.
> > I am passing the AVAHI_CLIENT_NO_FAIL flag, but no help.
> > 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.
> Is d-bus started while avahi-daemon is not?
> Do you have a code example? I may be able to point you to the error if
> I see the complete example..
> avahi mailing list
> avahi at lists.freedesktop.org
More information about the avahi