[avahi] How to add additional RRs in mdns response package?
lennart at poettering.net
Tue Sep 14 11:53:48 PDT 2010
On Thu, 02.09.10 13:14, 張皓茗 (diodream at gmail.com) wrote:
> I'm new to avahi and I'm learning it.
> I have some question about construct some network message between
> bonjour server and client.
> I would like to add some additional RRs in mdns response package,
> and I add these function avahi_record_new_full(), avahi_server_add()
> and avahi_record_unref() to make it while create service,
> in create_services(), does it a wrong way?
> my english is not well, with you can understand the mail and what I mean.
As an Avahi client you may call avahi_entry_group_add_record() to
publish a naked RR.
Lennart Poettering - Red Hat, Inc.
More information about the avahi