summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-25 08:35:33 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-25 09:23:17 (GMT)
commitb33a2937fe4a3cae0017892ad7f5c27b8a6f976d (patch)
tree35d0e88461026b6ca31e3dc7246bc6b8d3100f9f /Slimber/CLI
parentef4284acb29aca0bdf792ab40356c7955902e307 (diff)
downloadswift-b33a2937fe4a3cae0017892ad7f5c27b8a6f976d.zip
swift-b33a2937fe4a3cae0017892ad7f5c27b8a6f976d.tar.bz2
Implement more DNSSD queries.
Diffstat (limited to 'Slimber/CLI')
-rw-r--r--Slimber/CLI/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Slimber/CLI/main.cpp b/Slimber/CLI/main.cpp
index 65af3bc..3a72ca1 100644
--- a/Slimber/CLI/main.cpp
+++ b/Slimber/CLI/main.cpp
@@ -22,8 +22,8 @@ int main() {
querier->start();
boost::shared_ptr<DNSSDBrowseQuery> query = querier->createBrowseQuery();
query->startBrowsing();
- boost::shared_ptr<DNSSDPublishQuery> query2 = querier->createPublishQuery("remko", 1234, LinkLocalServiceInfo());
- query2->publish();
+ boost::shared_ptr<DNSSDRegisterQuery> query2 = querier->createRegisterQuery("remko", 1234, LinkLocalServiceInfo());
+ query2->registerService();
/*
boost::shared_ptr<DNSSDService> dnsSDService;