mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 10:13:51 +01:00
.. | ||
Avahi | ||
Bonjour | ||
cmake | ||
Default | ||
doc | ||
include/Poco/DNSSD | ||
samples | ||
src | ||
CMakeLists.txt | ||
dependencies | ||
DNSSD_vs90.sln | ||
DNSSD_vs90.vcproj | ||
DNSSD_vs160.sln | ||
DNSSD_vs160.vcxproj | ||
DNSSD_vs160.vcxproj.filters | ||
DNSSD_vs170.sln | ||
DNSSD_vs170.vcxproj | ||
DNSSD_vs170.vcxproj.filters | ||
DNSSD_x64_vs90.sln | ||
DNSSD.progen | ||
LICENSE | ||
Makefile | ||
README.md |
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