[avahi] Mono-bindings: ServiceResolver not resolving...
cpinto at yimports.com
Mon Oct 3 08:33:08 PDT 2005
holding references to ServiceResolver instances outside the scope of the
methods that create those instances didn't solve this problem.
Running "avahi-browse -a" all services show up, but I'm still failing to
see what may be wrong with the code.
I'm going to try avahi-discover though and see what comes up, if
On Sex, 2005-09-30 at 13:47 -0500, James Willcox wrote:
> Hi Celso,
> I looked at the .cs file you attached, and I see why you don't get a
> resolver event. When you create the service resolver, you don't store
> any references to it outside the scope of the handleServiceAdded method
> (and the same thing happens in another method too). Consequently, the
> object is eligible for garbage collection when that method ends. It is
> evidently getting collected before you receive the event. I don't know
> why the browser would not be showing the other machine, though. Does it
> show up in avahi-discover?
> On Fri, 2005-09-30 at 10:00 +0100, Celso Pinto wrote:
> > Hi,
> > > > - second user launches the application, publishes the service, first
> > > > user is notified, listens for publishers. Never finds out about 1st
> > > > user.
> > >
> > > Why doesn't he find out about the first user? Is this a bug in Avahi
> > > or intended behaviour? I still don't understand. :-(
> > My opinion is that apparently it's an Avahi bug (of course ;-))
> > > > > Is that Avahi 0.5 or SVN?
> > >
> > > > Downloaded from SVN on the 26th.
> > >
> > > Hrmm. The were some changes in SVN recently where the c# stuff wasn't
> > > up-to-date with the client library in regards to method
> > > signatures.
> > >
> > > Please update to avahi 0.5.1.
> > >
> > > (Current SVN is broken regarding avahi-sharp too)
> > Will do.
> > > Hmm, thanks. Honestly I cannot make much sense of the ethereal
> > > snapshot. I cannot distuinguish which query was issued by which client
> > > app. Is there any chance that you could repeat this stuff on two
> > > seperate hosts with different IP addresses?
> > Sure thing, but it'll take me some time as I need to install a Linux
> > image in QEmu.
> > Regards,
> > Celso
> > _______________________________________________
> > avahi mailing list
> > avahi at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/avahi
> avahi mailing list
> avahi at lists.freedesktop.org
Celso Pinto <cpinto at yimports.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/avahi/attachments/20051003/b1d1bdc8/attachment.pgp
More information about the avahi