[readme] add method "file"

This commit is contained in:
Stefan Bühler 2010-07-25 15:03:42 +02:00
parent 8849f4f57c
commit 1da26c9403

View File

@ -16,5 +16,8 @@ In order to use avahi from qt there is libqtavahi:
* Signal/Slot based avahi api * Signal/Slot based avahi api
* a QAbstractItemModel * a QAbstractItemModel
qcp offers different methods to share data (method is specified in the 'm' key in the TXT data)
* 'file'
qcp uses "_qcp._tcp" as mDNS-SD type; so to fake a share you could use this: qcp uses "_qcp._tcp" as mDNS-SD type; so to fake a share you could use this:
$ avahi-publish-service 'test share' '_qcp._tcp' 9876 $ avahi-publish-service 'test share' '_qcp._tcp' 9876 'm=file'