This package is intended for software developers and integrators, there isn't really anything here for an end user. The project license is the modified 3-clause BSD, https://en.wikipedia.org/wiki/BSD_licenses
You should be able to just type make and it will build the included
example apps. Otherwise, check out mdnsd.h
to get started, the API is
as simple as I could make it, but I hope to find some easier/better ways
to improve it in the future. Also included are some other utilities,
sdtxt.*
for service discovery TXT record parsing/generation, and
xht.*
for simple fast hashtables, and 1035.*
which mdnsd uses for
standalone DNS parsing.
Differences to the base repo (https://github.com/troglobit/mdnsd):
- Use CMake for the build
- Strict compilation flags for better portability
- Support of Linux, MinGW, OS X and Windows
- Continuous Integration
The software is built for and developed on GNU/Linux systems, but should work on any UNIX like system.
The cmake build system is used:
mkdir build
cd build
cmake ..
cmake --build . --verbose
cmake --install . --verbose
To test the included example applications you need to first start the
mdnsd
daemon before calling mquery
:
./mdnsd _name._service 192.168.1.2 80 &
./mquery 12 _http._tcp.local.
This MDNS-SD implementation was developed by Jeremie Miller in 2003, originally announced on the rendezvous-dev mailing list. It has many forks and has been used by many other applications over the years.
This GitHub project is an attempt to clean it up, develop it further, and maintain it for the long haul.