Replies: 1 comment
-
Updating the question because I discovered that using a However the service is still not queryable by using the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to create an app that can advertise a service that is automatically found by a client. My hopes were to use
dns-sd
for this so that the user would not need to enter details.I managed to register a
DnssdServiceInstance
with the service nametest._myservice._tcp.local
. This service can then be seen on a second computer on the network usingdns-sd -B _myservice._tcp local
. However I cannot query the instance which should be possible usingdns-sd -L test _myservice._tcp local
. I inspected the packets using wireshark and do not see the host replying at all.Failing the above, I implemeted a
DeviceWatcher
with a query string set toSystem.Devices.AepService.ProtocolId:={4526e8c1-8aac-4153-9b16-55e86ada0e54}
to see if it could enumerate the instances and found that it doesn't even find test instances created with thedns-sd
tool. Inspecting the traffic while running theDeviceWatcher
doesn't seem to produce any network traffic either.I also tried to use the
DeviceInformation.FindAllAsync( )
function call, but it only seems to return physically connected hardware, and nothing on the network at all, and when using the query string above there are zero entries.Am I running into a permission or capability issue here? Or has this functionality not been implemented?
Beta Was this translation helpful? Give feedback.
All reactions