[avahi] avahi-publisher: How to update txt-record in a service

Lennart Poettering lennart at poettering.net
Mon Jun 1 04:45:31 PDT 2009


On Fri, 29.05.09 15:42, Florian Erfurth (f.erfurth at reel-multimedia.com) wrote:

> Hi I want to write an small application which publish a service with the 
> content (text-record). The publisher should change this text. How is 
> this done?
> 
> Do I have to remove service and recreate it with new text (like the 
> code-part below)? Or can I change text-record "on the fly"? I don't want 
> to remove/recreate service. :/

RTFM!

http://avahi.org/download/doxygen/main.html

See the last paragraph about "How to Register Services".

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the avahi mailing list