Comments (7)
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 _airplay._tcp.local
? I guess your hostname does simply not match the actual name of the airplay device.
You should try without that one and the dot, so any airplay device on the local network can respond. Then you can have a look through the results whether the one you are looking for is part of the result set.
from net-mdns.
@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!
from net-mdns.
I was not wondering that you add _airplay._tcp.local, more wondering that you put a well-known hostname in front. 😉
from net-mdns.
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.
from net-mdns.
Is that not expected behavior, that nothing is returned if it does not exist? Or did I get you wrong?
from net-mdns.
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.
from net-mdns.
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.
from net-mdns.
Related Issues (20)
- Cannot get the device IP address
- Make exclusion of Loopback interface configurable.
- Internal InvalidOperationException occurs HOT 2
- No query received after enabling a networkinterface HOT 1
- ServiceDiscovery not working on WiFi connection HOT 3
- Responses to MultiCast TXT queries not received HOT 1
- Advertised service not showing in network
- Breaking change in IPNetwork2 2.6.459 leads to exception in mdns HOT 1
- No commits from Richard Schneider HOT 1
- Register custom record types HOT 1
- ServiceDiscovery doesn't advertise ServiceProfile's port HOT 2
- I got this unhandled exception when I have attached the TaskScheduler.UnobservedTaskException: HOT 4
- Stack Overflow in network discovery on OS X HOT 4
- Responses to unicast queries not received HOT 11
- Not all members in Multicastclient are disposed HOT 10
- Getting network interface in AnswerReceived
- Timeout of 2 minutes on mdns resolution HOT 1
- How to detect a device is offline? HOT 3
- Memory leak in MulticastService 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 net-mdns.