-
Notifications
You must be signed in to change notification settings - Fork 83
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
Responses to unicast queries not received #91
Comments
With the additional line in the PR it works and I can successfully receive answers for those unicast queries on my local endpoint. Since receivers are a superset of senders in this case, it might be sufficent to dispose that list only. |
Slightly off-topic, but I am nosy. What is the following line good for? net-mdns/src/MulticastService.cs Line 36 in b9f2f81
I have looked through your dependencies, and this line is the only reason for the IPNetwork2 package. |
Hello, can you provide a working example for sending query? |
@Raj123456788 Sorry, I do not understand your request. The code shown in my first comment and which you partly copied is already a working sample for multicast. For unicast you have to comment out the last line and re-enable the line above (SendUnicastQuery). But this does only receive messages when taking over PR #92 |
@queequac : thanks. Will try that. I have another question: I need to get a list of all services published on a n/w before I start my service(want to avoid publishing a service that is already published). |
Hi @Raj123456788 , could you please stop spamming this thread, since your questions are totally unrelated to the issue? I don't want @richardschneider to close it just because of noise here. btw, you will find answer to all your questions on the starting page anyway. Your last questions seems to be solvable via ResolveAsync and a cancelation token expiring in maybe 2seconds. |
@queequac : My apologies. I will create another issue henceforth. Thanks for the answer. |
@queequac: Did you ever get an answer for unicast queries response? |
@Raj123456788 Sure, see my PR above... the code changes make it work with unicast queries. |
I met the same issue contacting to my esp8266, thanks for your PR!! |
Hi, I am currently playing arround with the library to check whether I can use it in production.
Doing so I realized that I do not receive responses for SendUnicastQuery.
I am using Wireshark and I can see queries being sent and also getting responses in both cases on the wire.
Using above code, SendQuery will result in AnswerReceived events (arriving at the multicast address 224.0.0.251), while uncommented SendUnicastQuery will not (even though I can see a response being sent from the device directly to my IP address).
I tried with UWP as well as .NET Framework 4.7.
And idea?
Best, Roland
The text was updated successfully, but these errors were encountered: