swift-dns-service-discovery
swift-dns-service-discovery copied to clipboard
DNS-SD (Bonjour/Zeroconf/Avahi) implementation of the Swift Service Discovery API
We should make sure that Linux supports actually works as intended with the Avahi stack, given that some additional workarounds might be needed: - https://stackoverflow.com/questions/7391079/avahi-dns-sd-compatibility-layer-fails-to-run-browse-callback - https://github.com/nallick/dns_sd/blob/9e9841c131cc1357fc63b69ff75d6d91e45b8429/Sources/dns_sd/DNSService.swift#L146-L170
This could e.g. be useful for game servers, such as Minecraft.
Fixes #1. To do: - [x] Implement basic manual `.processResult` loop that drives the callbacks, as per - https://github.com/nallick/dns_sd/blob/9e9841c131cc1357fc63b69ff75d6d91e45b8429/Sources/dns_sd/DNSService.swift#L146-L170 - https://stackoverflow.com/questions/7391079/avahi-dns-sd-compatibility-layer-fails-to-run-browse-callback - https://marknelson.us/posts/2011/10/25/dns-service-discovery-on-windows.html - [ ] Figure out why the...
This adds a small Python script that automatically generates service types from the [IANA Service Name and Transport Protocol Port Number Registry](https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml) (which replaces the older [DNS-SD service type list](http://www.dns-sd.org/ServiceTypes.html))....