Hi Antonie,

I'm compiling a modification of the example 'client-publish-service.c'.

(Example from http://avahi.org/download/doxygen/)

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

Reply via email to