PengZheng opened a new issue, #718:
URL: https://github.com/apache/celix/issues/718

   # Intro
   
   Currently, `discovery_zeroconf` only builds with Conan on Linux. Initially, 
it is targeted at Embedded Linux, and thus depends on the most lightweight 
feature-complete implementation of dns-sd, a.k.a mDNSResponder. Unfortunately, 
most (if not all) Linux distributions provide the same functionality with 
`avahi` rather than `mDNSResponder` and `mDNSResponder` does not build on macOS.
   
   # Linux
   
   Note that [avahi](https://avahi.org/doxygen/html/) provides  the original 
Bonjour API as `avahi-compat-libdns_sd`, it should be possible to make 
`discovery_zeroconf` work with `avahi`. Though for tests to work, it may 
require additional efforts, see #618.
   
   # macOS
   
   Note that dns-sd has first class citizen support on macOS: check 
[this](https://developer.apple.com/documentation/dnssd/dns_service_discovery_c?language=objc)
 for the official documentation of the C API. 
   Though without a mac at hand, I'm fairly optimistic that 
`discovery_zeroconf` could be made to work on macOS.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to