Add txt records to discovered services

This commit is contained in:
Jonathan Bagg
2017-03-15 20:32:28 -04:00
parent 9a6235509c
commit 195e740ceb
6 changed files with 46 additions and 7 deletions
+1
View File
@@ -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);