Add txt records to discovered services

This commit is contained in:
Jonathan Bagg committed 2017-03-15 20:32:28 -04:00
1 parent 9a6235509c
commit 195e740ceb
6 files changed
+46 -7

No files matched your search

+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);