Warning, /frameworks/kdnssd/README.md is written in an unsupported language. File is not indexed.
0001 # KDE DNS-SD 0002 0003 Network service discovery using Zeroconf 0004 0005 ## Introduction 0006 0007 KDNSSD is a library for handling the DNS-based Service Discovery Protocol 0008 (DNS-SD), the layer of [Zeroconf](http://www.zeroconf.org) that allows network 0009 services, such as printers, to be discovered without any user intervention or 0010 centralized infrastructure. 0011 0012 0013 ## Usage 0014 0015 If you are using CMake, you need to have 0016 0017 ```cmake 0018 find_package(KF6DNSSD NO_MODULE) 0019 ``` 0020 0021 (or similar) in your CMakeLists.txt file, and you need to link to KF6::DNSSD. 0022 0023 If you are writing an application that wants to discover services on the 0024 network, use KDNSSD::ServiceBrowser. You can also find available service types 0025 using ServiceTypeBrowser. 0026 0027 If you want to announce the availability of a service provided by your 0028 application, use KDNSSD::PublicService. 0029 0030 KDNSSD::DomainBrowser allows you to find domains (other than the local one) 0031 recommended for browsing or publishing to. 0032 0033 Note that KDNSSD::ServiceBrowser::isAvailable() provides information about the 0034 availability of the services provided by this library generally, not just for 0035 browsing services. 0036 0037 0038 ## More information 0039 0040 More information about DNS-SD can be found in the [online 0041 documentation][appledocs] for Apple's implementation of Zeroconf, 0042 [Bonjour](https://developer.apple.com/bonjour/). 0043 0044 [appledocs]: https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/NetServices/Articles/about.html 0045 0046