Code Monkey home page Code Monkey logo

Comments (6)

rblenkinsopp avatar rblenkinsopp commented on May 26, 2024 3

So my debugger is showing the call ipv4.ReadFrom in mdns.go is calling through to payload_nocmsg.go in golang.net/x.net (note the this is the No CMsg variant).

From looking at the go:build statements, it looks like this is because the NoCMsg variant is always used on non-Unix platforms IE Windows like this issue is exhibiting on.

It looks like control messages are not implemented on Windows according to his bug: golang/go#20153

from dnssd.

rblenkinsopp avatar rblenkinsopp commented on May 26, 2024

I've submitted an MR which takes the first proposed approach above. This appears to resolve the issue in my testing but I'd be interested to understand the route of this issue further.

from dnssd.

brutella avatar brutella commented on May 26, 2024

cm is the control message and should include the network interface – see mdns.go.

We should investigate why this is nil.

from dnssd.

AlexxIT avatar AlexxIT commented on May 26, 2024

I can confirm, solution in PR fix work on Windows

from dnssd.

rblenkinsopp avatar rblenkinsopp commented on May 26, 2024

Thanks, @AlexxIT, @brutella would you consider merging the pull-request to work around the issue? It seems like it's sensible defensive programming, even though I agree it would be nice to have the underlying issue resolved.

from dnssd.

zuozhehao avatar zuozhehao commented on May 26, 2024

I have the same problem on Windows 10 Pro.

mdns.go It will get an error message in my system not implemented on windows/amd64 @rblenkinsopp @brutella

from dnssd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.