Giter VIP home page Giter VIP logo

Comments (5)

edaniels avatar edaniels commented on June 2, 2024 1

Looked into this. This does not work because when we listen to DefaultAddress = "224.0.0.0:5353", we will only ever get multicast responses back. In order to address this, we need to have Query begin using a unicast socket for queries. This will be more efficient and correct. When we do this, the client side is okay to listen on "0.0.0.0:0", since there does not need to be a dedicated way to listen for questions, just answers. This way, we are allowed to receive answers both from our joined multicast groups and unicast.

So, this will be fixed with #155 which comes behind #69

from mdns.

Sean-Der avatar Sean-Der commented on June 2, 2024

If you apply #70 does it work?

Most of my attention is on https://github.com/pion/webrtc, but will try my best to get this working!

from mdns.

akamensky avatar akamensky commented on June 2, 2024

No, #70 does not fix it. I checked and the code returns here conn.go#L297 For some reason it sees it as empty response. Which it is not.

Debugging the code: err == "parsing/packing of this section has completed" in that if statement. But no error is returned back and no response is captured.

Running tcpdump I do see:

21:29:07.409061 enp2s0f0 M   IP 10.0.0.185.5353 > 224.0.0.251.5353: 0 A (QM)? test.local. (31)
21:29:07.409408 enp2s0f0 Out IP 10.0.0.3.5353 > 10.0.0.185.5353: 0- [0q] 1/0/0 A 10.0.1.0 (41)

So the question is sent and answer is sent back.

from mdns.

edaniels avatar edaniels commented on June 2, 2024

@akamensky if you're still interested, can you check if this is still an issue?

from mdns.

edaniels avatar edaniels commented on June 2, 2024

Verified #176 fixes this but need a review

from mdns.

Related Issues (10)

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.