forked from jbagg/QtZeroConf
Add txt records to service publication.
This commit is contained in:
1 parent
acaa07db15
commit
e4e4308942
6 files changed
+77
-5
No files matched your search
@@ -105,6 +105,9 @@ void mainWindow::startPublish()
|
||||
if (publishEnabled)
|
||||
return;
|
||||
publishEnabled = 1;
|
||||
|
||||
zeroConf.addServiceTxtRecord("Qt", "the best!");
|
||||
zeroConf.addServiceTxtRecord("ZeroConf is nice too");
|
||||
zeroConf.startServicePublish(buildName().toUtf8(), "_qtzeroconf_test._tcp", "local", 11437);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user