[avahi] Problems when avahi deamon is not startet on startup
Nathan Huesken
avahi at lonely-star.org
Tue Aug 12 03:40:27 PDT 2008
Hi,
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 :) ).
Nathan
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..
>
> Regards,
> Trent
> _______________________________________________
> avahi mailing list
> avahi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
More information about the avahi
mailing list