[avahi] Questions regarding service types

Lennart Poettering lennart at poettering.net
Fri Apr 8 06:24:27 PDT 2011


On Thu, 07.04.11 09:28, Nathanael D. Noblet (nathanael at gnat.ca) wrote:

> Hello,
> 
>   I'm building an application, fairly specific application and not
> likely to become a wide spread tool. As part of the system, I'd like
> for the administration application to be able to find/see client
> machines when on the same network without much configuration. Seems
> like Avahi will do this very well. I've been playing with the
> examples, and have some questions about the service types. I see
> that I can put my own service type _somestring._tcp and my own
> service name, however when looking at avahi-discover. It basically
> just shows _somestring._tcp.
> 
> I'm curious about what the best way to proceed forward in a
> situation like this. Do I request an entry in the service-types db
> avahi uses? Since it isn't likely to be used by anyone except a
> select few clients of mine, it seems a bit odd to do that. I can
> always patch my own version of avahi's service types, but before I
> went that route I thought I would ask here what the options/opinions
> were.

The database is used only and exclusively by avahi-browse and
avahi-discover. If you need your own private additions then feel free to
extend the database locally, but keep in mind that you need to rebuild
the binary version of it with that Python script.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the avahi mailing list