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

Celso Pinto cpinto at yimports.com
Mon Oct 3 08:35:21 PDT 2005


Hi Mark,

thanks for the tip. I'll bring this issue to the attention of the
iFolder developers.

Cheers,
Celso

On Dom, 2005-10-02 at 21:00 -0700, Marc Krochmal wrote:
> Hi Celso,
> 
> One comment about your service type "_ifolder_member._tcp".  If  
> possible, you should avoid using underscores in the middle of the  
> service type, since the service label should only be letters, digits  
> and hyphens.  This is so service types can eventually be merged with  
> IANA's protocol name list.
> 
> <http://www.ietf.org/internet-drafts/draft-fenner-iana-dns-srv-00.txt>
> 
> The current protocol and port number list requires protocol short  
> names to be 14 characters maximum, consisting of letters, digits and  
> hyphens.
> 
> So if possible, switch to using "_ifolder-member._tcp".
> 
> Best Regards,
> 
> -Marc
> 
> 
> 
> On Sep 29, 2005, at 5:42 PM, Celso Pinto wrote:
> 
> > Hi Lennart,
> >
> > thanks for such a quick reply.
> >
> >
> >> Hmm? I don't quite understand. Why doesn't the first computer get
> >> notified about "service added"? Is this a bug in Avahi?
> >>
> >> Did you stop the program on your second machine? If so it's not
> >> surprising that you cannot resolve the service it created. Avahi  
> >> sends
> >> out goodbye records for a services where the owning program
> >> terminates, so that they removed from all caches on the network.
> >
> > Nope, the code is still running on the second machine. It's not  
> > really a
> > second machine... I launched the application under a different user at
> > the same machine, as you will be able to tell from the IP address  
> > on the
> > dump file.
> >
> > Let me try and explain myself a little better:
> >
> > - one user launches application, publishes service, listens for other
> > publishers
> > - second user launches the application, publishes the service, first
> > user is notified, listens for publishers. Never finds out about 1st
> > user.
> > - first user closes app. has second user's service name cached in a
> > database. user opens the application again, isn't notified about the
> > second user but because it already has a service name, tries to  
> > resolve
> > that service name to no avail.
> >
> >>
> >> Is that Avahi 0.5 or SVN?
> > Downloaded from SVN on the 26th.
> >
> >
> >> Not even with a TIMEOUT event? shouldn't happen.
> >
> > Apparently not. I just added a debug output line to see if the
> > resolution timed-out... nothing shows up in the log files.
> >
> >>> If this isn't a known bug, I'm more than willing to send the source
> >>> code.
> >>
> >> Yes, please. That would be best.
> >
> > OK, I'm attaching the file as well.
> >
> > Looking forward for your comments.
> >
> > Regards,
> > Celso
> >
> >
> > -- 
> > Celso Pinto <cpinto at yimports.com>
> > <avahi.dump>
> > <Avahi.cs.gz>
> > _______________________________________________
> > avahi mailing list
> > avahi at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/avahi
> 
> _______________________________________________
> avahi mailing list
> avahi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
-- 
Celso Pinto <cpinto at yimports.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/avahi/attachments/20051003/c33cfce6/attachment.pgp


More information about the avahi mailing list