Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mDNS resolution not working with UDP srcport = 5353 #189

Open
PaulFreund opened this issue Mar 9, 2021 · 1 comment
Open

mDNS resolution not working with UDP srcport = 5353 #189

PaulFreund opened this issue Mar 9, 2021 · 1 comment

Comments

@PaulFreund
Copy link

First thank you very much for this library. I discovered that I can not see any mDNS entries by default so I debugged a little bit with Wireshark and compared with another implementation.

Once I changed

var localEp = new IPEndPoint(IPAddress.Any, 5353);

to 0 as port (which automatically chooses a free srcport) it worked. Is this something we can add to the library at least as an option?

@sanke
Copy link

sanke commented Jul 28, 2022

Same here, after changing port to 0 discovery started to work consistently. Before it was working inconsistently and failing most of the time (returning empty set)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants