Skip to content

fwcd/swift-dns-service-discovery

Repository files navigation

Swift DNS Service Discovery

Build Docs

An implementation of the Swift Service Discovery API using DNS-based Service Discovery (DNS-SD), also known as Bonjour, Zeroconf or Avahi.

Uses the dns_sd library, which on macOS/Windows is provided by Bonjour and on Linux requires the Avahi compatibility layer. On Ubuntu, the following package can be used:

sudo apt install libavahi-compat-libdnssd-dev

Credits

The library draws inspiration from

The following documentation on the dns_sd library was also incredibly helpful: