News for hackers. Stuff that matters.

goont

Re:mDNS, Avahi and Docker non-root containers on Tuesday June 02, 2020 @07:07AM (#23389740)
> I vastly prefer it to having to ship mdnsresponder alongside my application though.

That's what I'm seeking to avoid too. I'll have to take a closer look at the device enumeration API next time I circle around to the Windows port. Thanks for sharing your experience with it.

Re:mDNS, Avahi and Docker non-root containers on Tuesday June 02, 2020 @06:47AM (#23389611)
Have you shipped anything using that API? I'm just a bit weary of wasting time on another half-baked solution.

And are you sure the Windns.h API is deprecated? I could have sworn it only showed up last year.

Re:mDNS, Avahi and Docker non-root containers on Monday June 01, 2020 @06:46PM (#23384968)
Notably Android doesn't support mDNS as part of general hostname resolution. (There is the NSD API available but you have to explicitly use it, and the browsers do not.)
Re:mDNS, Avahi and Docker non-root containers on Monday June 01, 2020 @06:41PM (#23384909)
There is an API exposed in Windns.h but it doesn't work very well. It's awkward to use and doesn't pick up on services being added and removed. See `DnsService*`, etc in https://docs.microsoft.com/en-us/windows/win32/api/windns/.