On 05/07/2010 01:28 PM, "Victor M. Palacio Tárrega" wrote:
Hi Antonie,
I'm compiling a modification of the example 'client-publish-service.c'.
(Example from http://avahi.org/download/doxygen/)
Hah, well since it comes from avahi.org, one can assume that they know
what they're doing.
One thing you can try is to reverse the roles and move the publisher to
the receiver and vice versa. (a broken multicast network is a
possibility but it might not affect both machines)
You could also try to strace the publisher to make sure that it wakes up
when being queried.
Once you get timeouts, does this affect all the services on that machine
or just your own one?
Hope this helps
Antoine
Regards,
Antoine Martin escribió:
Hi Victor,
What language and libraries are you using?
FYI: I had the exact same behaviour when trying to use dbus via
python avahi in a software that was already using twisted+pygtk. (gtk
main loop)
No amount of magic incantations or running separate glib threads ever
solved it. So in the end I had to use a twisted adapter for pybonjour.
Cheers
Antoine
On 05/06/2010 09:51 PM, "Victor M. Palacio Tárrega" wrote:
Thanks for your response, Lenhart
I don't think that is a firewall problem. I'm capturing mDNS frames
when executing the app that is publishing (attached).
It's the event loop suposed to 're-publish' the services to avoid
timeouts?
Regards,
Lennart Poettering escribió:
On Thu, 06.05.10 09:20, "Victor M. Palacio Tárrega"
([email protected]) wrote:
Hello All,
I'm developing an embedded application with mDNS.
Using example from client-publish-service.c works fine, but, after
some time I get this with the services browser instead of TXT data:
*Error: org.freedesktop.Avahi.TimeoutError: Timeout reached*
I'm having the same problem with every service that is present in
/etc/avahi/services.
This sounds as if mDNS packets are not properly delivered. This
might be
because you run a firewall that drops packets somewhere or your driver
does not do multicasting properly.
Lennart
_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi
------------------------------------------------------------------------
_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi
_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi
_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi