Hi Trent,
This is indeed a corner case, but it let's me advertise _private_ services.
Only the processes on the same machine can see those services.
I realize that  Avahi  is  about the  networking and the Zeroconf, but
this feature is really powerful for the Desktop. I'm publishing DAAP
services
which can be picked up by music players like Rhythmbox and Banshee.

Regards,
Yavor

On Jan 24, 2008 11:20 AM, Trent Lloyd <[EMAIL PROTECTED]> wrote:

> Hi Yavor,
>
> On 25/01/2008, at 3:46 AM, Yavor Goulishev wrote:
>
> > Hi all,
> > I'm trying to register local only services.
> > The services should not be visible from other machines.
> >
> > I can do this with Bonjour by passing the interface index
> > kDNSServiceInterfaceIndexLocalOnly (-1) to the DNSServiceRegister
> > function call.
> >
> > Unfortunately I can't do this with Avahi. Passing -1 for the
> > interface index means unspecified.
> > Looking at the core code, this feature is not implemented.
> > Are there any plans for implementing it?
> > Is there any other way to register local only services with Avahi?
>
> I wonder why you would do this? This is not really what avahi is
> designed to do and seems like a bit of an abuse of it.
>
> What is your specific application?
>
> Regards,
> Trent
> _______________________________________________
> 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