Git Product home page Git Product logo

Comments (8)

tdjsnelling avatar tdjsnelling commented on July 17, 2024 1

Any update on this? The first time I call resolveService after discovery I get nothing. If I try and call it again, it fails with error code 3. The service is found but I am unable to get the address/port as I cannot resolve.

Edit: to anyone who comes across this issue in future, use the andriydruk/RxDNSSD library in your Android app if you want it to work with this module. The defualt NsdManager does not work fully.

from bonjour.

lulebe avatar lulebe commented on July 17, 2024

For me it always called onResolveFailed. The trick was to just try to resolve it again and again until it works. Usually it takes 1-3 tries. If none of the functions get called there might be an issue with how you set up the whole thing on android.

from bonjour.

Talbot3 avatar Talbot3 commented on July 17, 2024

@lulebe I find it this publish is error.NXDOMAIN.But Code run is ok!

from bonjour.

navneet-g avatar navneet-g commented on July 17, 2024

I am facing the same issue where mNsdManager.resolveService is neither resulting into onResolvedFalied nor onServcieResolved, was anyone able to find a solution?

from bonjour.

xuanxuandog avatar xuanxuandog commented on July 17, 2024

I met the same issue. Just nothing happened after calling resolveService. Any one can help?

from bonjour.

AlexCatch avatar AlexCatch commented on July 17, 2024

I'm also having this issue. It finds the service but simply fails to resolve it.

from bonjour.

ddfire avatar ddfire commented on July 17, 2024

2020 and still the same

from bonjour.

haoqiangyu avatar haoqiangyu commented on July 17, 2024

try https://stackoverflow.com/questions/30026995/what-do-the-errorcodes-mean-for-android-nsd-onresolvefailed

from bonjour.

Related Issues (20)

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.