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

Bouke NetService on Windows #45

Open
litewrap opened this issue Aug 23, 2022 · 1 comment
Open

Bouke NetService on Windows #45

litewrap opened this issue Aug 23, 2022 · 1 comment

Comments

@litewrap
Copy link

Hi, now we have Swift working on Windows. I am curious of any experiments for adding Bouke NetService to Windows.
I see two possibilities:

1- Try with the legacy Apple Bonjour SDK for Windows. The SDK is old (2004) but provides the DLL and the dns_sd.h header.
Do you think this Apple dns_sd.h for Windows can simply replace the one you are using for Linux ?

https://developer.apple.com/download/all/?q=Bonjour%20SDK%20for%20Windows

2- Since now Microsoft support Bonjour native on Windows 10/11 with there own Win32 DNS API, we can design a Swift layer over the Microsoft API (windns.h). Longer way but native Win32 support. Any advantages over Apple legacy dns_sd for Windows ? Is anybody have tried this way ?

https://docs.microsoft.com/en-us/windows/win32/api/_dns/

Thanks to Bouke for helping us having a Swift NetService solution for macOS and Linux.
Looking forward for Windows support too.

@Bouke
Copy link
Owner

Bouke commented Aug 25, 2022

Windows support is an interesting idea. Option 2 looks like the most future forward approach. I would consider merging a well-written PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants