Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discovery Zeroconf Portability #718

Open
PengZheng opened this issue Jan 8, 2024 · 0 comments
Open

Discovery Zeroconf Portability #718

PengZheng opened this issue Jan 8, 2024 · 0 comments
Labels
component/remote-services Categorizes an issue or PR relevant to remote services. kind/improvement Categorizes issue or PR as related to improvements.

Comments

@PengZheng
Copy link
Contributor

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 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 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.

@PengZheng PengZheng added component/remote-services Categorizes an issue or PR relevant to remote services. kind/improvement Categorizes issue or PR as related to improvements. labels Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/remote-services Categorizes an issue or PR relevant to remote services. kind/improvement Categorizes issue or PR as related to improvements.
Projects
None yet
Development

No branches or pull requests

1 participant