Coder Social home page Coder Social logo

Comments (5)

msatranjr avatar msatranjr commented on May 22, 2024

Thanks for reaching out, jvcleave! I have forwarded your request to the engineering team that is responsible for the DnssdServiceInstance class for further investigation. In the meantime, you can use the UdpManager.cs and UdpParticipant.cs classes instead, by replacing any instances DnssdManager/DnssdParticipant accordingly—These classes make use of UDP multicast for discovery instead of DNS-SD. Don’t hesitate to open another issue if you run into other problems.

from windows-appsample-networkhelper.

jvcleave avatar jvcleave commented on May 22, 2024

any updates on this?

from windows-appsample-networkhelper.

msatranjr avatar msatranjr commented on May 22, 2024

jvcleave, there are no updates as of now. I just reached out to the team and will get back to you when I hear something. May I ask what you are trying to do so that I can potentially suggest other alternatives in the meantime?

from windows-appsample-networkhelper.

jvcleave avatar jvcleave commented on May 22, 2024

I have a Hololens app that is running a StreamSocket service that I want to advertise so another UWP app (e.g. a tablet) can connect to it and send it commands.

As it stands currently the Hololens app is advertising the DNSSD service and the remote app is able to connect. However every time the Hololens app starts up (which can be often) it pollutes the network with another DNSSD service (registering a the same instance name causes an error).

The remote UWP app also has to sort through all of the service instances (I have them timestamped in TextAttributes) in order to find the most recent one.

from windows-appsample-networkhelper.

msatranjr avatar msatranjr commented on May 22, 2024

jvcleave, does the Hololens app call Dispose() on the stream socket listener before it exits? DNS-SD registration is supposed to be tied to the lifetime of the socket. If yes, you may want to consider using UDP multicast for discovery while the team is investigating this. I'll keep you posted here when I hear something from them.

from windows-appsample-networkhelper.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.