forked from jbagg/QtZeroConf
Add txt records to discovered services
This commit is contained in:
1 parent
9a6235509c
commit
195e740ceb
6 files changed
+46
-7
No files matched your search
@@ -106,6 +106,7 @@ void mainWindow::startPublish()
|
||||
return;
|
||||
publishEnabled = 1;
|
||||
|
||||
zeroConf.clearServiceTxtRecords();
|
||||
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