Comments (5)
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.
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.
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.
@akamensky if you're still interested, can you check if this is still an issue?
from mdns.
Verified #176 fixes this but need a review
from mdns.
Related Issues (10)
- Action Required: Fix Renovate Configuration
- Error "mDNS: failed to join multicast group" on WSL in Windows HOT 1
- IPv6 support HOT 3
- Dependency Dashboard
- How to advertise another host?
- Does not work on Windows HOT 11
- Support unicast responses HOT 3
- Unanswered queries are not cleaned up
- How can I connect to an app in another port? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mdns.