poco/DNSSD
Aleksandar Fabijanic b41f211ece
2208 merge dnssd (#4479)
* Initial commit

* initial commit

* added README.md

* Update README.md

* Add top level CMakeLists like another project in POCO framework. see #1

* Add CMakeLists to Avahi and Bonjour. (see #1)

* Missing changing in top level CMakeLists correct. (see #1)

* Add samples CMakeLists. (see #1)

* Add temporary cmake find module for Avahi and Bonjour in cmake directory. (see #1)

* Add mandatory requirement diff for POCO framework to DNSSD cmake can be work correctly. (see #1)

* Update README.md

Add cmake build way.

* Update README.md

Minor change.

* Update README.md

Removed ambiguous sentence.

* Moved files

* Add cmake modules

* Add cmake modules

* Remove modules

* Correct linux cmake ci.

* Exclude DNSSD from macos, windows.

* Update CMakeLists.txt

* Remove unused gitignore

* Remove deprecated vs versions

* Add vs160 and vs170 for DNSSD

* Remove deprecated sln

* Revert bad changes

* Revert bad changes

* chore: remove vs90 sln files

* chore: remove vs90 x64 files

* Revert "chore: remove vs90 sln files"

This reverts commit 51d78f82f1.

* chore: add DNSSD to components

* chore(DNSSD): disable in CI, update copyright and doc

* fix(DNSSD): CMake on Apple platforms: fix finding library providing DNSSD.

* fix(DNSSD): Handle kDNSServiceFlagsNonBrowsable that was removed in 1096.0.2

* chore: naming and code modernize review comments

* enh(DNSSD): Define DNSSD_*_API for non-MSVC compilers.

---------

Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com>
Co-authored-by:  <soroosh@soroosh-pc.localdomain>
Co-authored-by: Seyyed Soroosh Hosseinalipour <soorosh_abi@hotmail.com>
Co-authored-by: Matej Kenda <matejken@gmail.com>
2024-04-03 22:38:56 +02:00
..
Avahi 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
Bonjour 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
cmake 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
Default 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
doc 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
include/Poco/DNSSD 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
samples 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
src 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
CMakeLists.txt 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
dependencies 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs90.sln 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs90.vcproj 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs160.sln 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs160.vcxproj 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs160.vcxproj.filters 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs170.sln 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs170.vcxproj 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_vs170.vcxproj.filters 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD_x64_vs90.sln 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
DNSSD.progen 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
LICENSE 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
Makefile 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00
README.md 2208 merge dnssd (#4479) 2024-04-03 22:38:56 +02:00

POCO DNS-SD (Zeroconf) Wrapper Library for Bonjour and Avahi

This is a POCO-based wrapper library providing an easy-to-use and unified programming interface to Apple Bonjour and Avahi libraries implementing DNS Service Discovery (DNS-SD, also known as Zeroconf).

Prerequisites

The Apple Bonjour SDK is needed on Windows (and OS X, of course). The Avahi client libraries are needed on Linux.

Getting Started

Clone into the root of an existing POCO source tree.

$ git clone https://github.com/pocoproject/poco-dnssd.git DNSSD

On Linux, build with cmake like below.

$ git apply DNSSD/CMakeLists.diff
$ sudo ./build_cmake.sh

On Windows or OS X, build with cmake like below.

$ git apply DNSSD/CMakeLists.diff
$ mkdir build
$ cd build
$ cmake ..
$ make -j8

For build without using cmake on Windows, build the included Visual C++ solution. On Linux/OS X, build with POCO_BASE environment variable set to the root of the POCO source tree.

$ export POCO_BASE=`pwd`
$ cd DNSSD
$ make -s -j8
$ make -s -j8 -C Default

See the doc directory for documentation and the samples directory for sample applications.

License

Boost Software License 1.0