Open fwenzel opened 8 years ago
Windows 10 has a built-in dns-sd.exe
that is essentially the same as dnssd
on macOS.
The path (in powershell parlance) is $env:SystemRoot/system32/dns-sd.exe
. In other words, use the SystemRoot
environment variable as the base of the path.
Oh yes! I like that. Thank you for this comment (and sorry I missed it so far). I do not have Windows 10 set up anywhere but I might be able to run a test VM to try this out?
I realized later that I have dns-sd.exe
because I had Apple's Bonjour installed. It is not actually part of Windows.
Windows 10 does have built-in DNS-SD device discovery, but it requires using native APIs.
Oh thank you. That is unfortunate because I am not sure I'll be able to do that. Unless I'm able to make a tiny binary component, but I do not have a Windows 10 box for testing, nor the time to figure out how to make a windows app. Not sure how to make the minimal possible interface there.
No clue how do to that best yet. If we had a TCP socket in Firefox, I could do it all in JavaScript and be done. Alas, I am shelling out to external tools.
I don't think Windows ships with a Zeroconf client by default (?) so our options are limited.
It seems Apple made dns-sd for Windows so if I can hook into that that's an option but it would require the user to install the SDK I think.