-
Notifications
You must be signed in to change notification settings - Fork 84
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
Not getting any response for ResolveAsync #108
Comments
Hi @Raj123456788 , unfortunately I am not really a good help here, since I have no airplay devices and cannot test your query against them. But since you asked first in my unicast-related issue - does that mean you are assuming airplay depends on unicast? Most likely not... Nevertheless, why are you adding the hostname in front of the |
@queequac Thanks for the reply. No I am not assuming airplay to be unicast :) I am adding _airplay._tcp.local because that is how that particular airplay device is advertised. I have already tried without .airplay still the same. I am hitting pause on this due to priorities but will post an answer if I find one. Thanks for the help! |
I was not wondering that you add _airplay._tcp.local, more wondering that you put a well-known hostname in front. 😉 |
ohh, that was because I wanted response from that specific hostname if it already exists on the n/w. But the real problem is when it does not exists on the n/w despite of CancellationTokenSource set to 2 secs it never returned anything. |
Is that not expected behavior, that nothing is returned if it does not exist? Or did I get you wrong? |
That was my question to the author. Assuming it is correct behavior: If the hostname becomes active on the network after few mins of the query sent I still receive a response. Doesn't the query has a time out of just 2 secs? So I should never receive a response and Timeout is not working. I have fixed this problem by running a timer for 2secs and ignore the responses after 2 secs but I was wondering if Library handled that. |
Are you on Windows and using Wifi? There are several open issues citing that the library isn't working with Wifi interfaces, and I am not sure if this just limited to Windows devices, but that is the only devices I have tried it with. Try plugging in via Ethernet and turn off Wifi on your machine. I and several others have observed that we are only able to use the library with ethernet interfaces at the moment. I haven't yet delved into as to why. |
The text was updated successfully, but these errors were encountered: