[avahi] Mono-bindings: ServiceResolver not resolving...

Lennart Poettering lennart at poettering.de
Tue Oct 4 16:28:44 PDT 2005


On Mon, 03.10.05 18:35, Celso Pinto (cpinto at yimports.com) wrote:

> What I make of this is that OnServiceCallback is never invoked for the
> service added by user "clean" (the second user), which suggests that
> there may be a bug in the C# bindings for Avahi. 
> 
> Is anyone else already using Avahi in a C# application? 

Yes, there are definitely some people who use it for an iTunes-workalike.

Hmm, could you please do the following for me:

Start avahi-daemon inside a gdb and set a breakpoint to
async_service_resolver_callback() in dbus-potocol.c. Now run your
program, and do one of those service lookups that starve to death and
look if the breakpoint is reached. If so, paste the function arguments
for me. Now single step ahead and check that dbus_connection_send() is
called. If so, we know that the problem is on the client side.

Best is probably if you contact me on IRC (mezcalero). I don't know
much about the C# part, but as far as libavahi-client or the dameon is
involved I am the guy to blame for bugs and pester for fixes.

BTW: Hey, Mono people, is it feasable to run mono with gdb to trace
through the C code of libavahi-client when it is called from
avahi-sharp?

Lennart

-- 
Lennart Poettering; lennart [at] poettering [dot] de
ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.de/lennart/


More information about the avahi mailing list