Go to file
luzhiping 6f03079a78 update info 2022-08-22 16:46:01 +08:00
LICENSES Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00
cmake Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00
debian update info 2022-08-22 16:46:01 +08:00
docs Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00
po Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00
src Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00
.gitignore Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00
.gitlab-ci.yml Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00
.kde-ci.yml Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00
CMakeLists.txt Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00
ConfigureChecks.cmake Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00
KF5DNSSDConfig.cmake.in Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00
PACKAGERS Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00
README.md Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00
config-kdnssd.h.cmake Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00
metainfo.yaml Import Upstream version 5.92.0 2022-05-16 16:01:09 +08:00

README.md

KDE DNS-SD

Network service discovery using Zeroconf

Introduction

KDNSSD is a library for handling the DNS-based Service Discovery Protocol (DNS-SD), the layer of Zeroconf that allows network services, such as printers, to be discovered without any user intervention or centralized infrastructure.

Usage

If you are using CMake, you need to have

find_package(KF5DNSSD NO_MODULE)

(or similar) in your CMakeLists.txt file, and you need to link to KF5::DNSSD.

If you are writing an application that wants to discover services on the network, use KDNSSD::ServiceBrowser. You can also find available service types using ServiceTypeBrowser.

If you want to announce the availability of a service provided by your application, use KDNSSD::PublicService.

KDNSSD::DomainBrowser allows you to find domains (other than the local one) recommended for browsing or publishing to.

Note that KDNSSD::ServiceBrowser::isAvailable() provides information about the availability of the services provided by this library generally, not just for browsing services.

More information

More information about DNS-SD can be found in the online documentation for Apple's implementation of Zeroconf, Bonjour.