[avahi] Registering Service Subtype?
Lennart Poettering
lennart at poettering.net
Thu Dec 11 10:16:43 PST 2008
On Thu, 06.11.08 10:27, Aldrin Martoq (amartoq at dcc.uchile.cl) wrote:
> On Thu, 2008-11-06 at 08:01 -0500, Mark K. Gardner wrote:
> > I tried a bunch of things and finally got rid of the exception by
> > passing a complete subtype, e.g., _subservice._sub._demo._tcp, instead
> > of just the extension (_subservice).
>
> I suggest move the problem out of zeroconf and handle in your
> application. Make sure that any application/node participating in the
> network could be a server/worker, I think is a cleaner design from the
> point of view of the end-user and the programmer.
It is always a good idea to design your system in away that the
response set is minimal. To achieve that you should carefully choose
how you use types and subtypes --- and never simply register everything
under the same and do the matching in your code!
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the avahi
mailing list