Android, NSD/DNS-SD: NsdManager unreliable discovery and IP resolution

前端 未结 2 706
别那么骄傲
别那么骄傲 2021-02-05 11:20

In the course of the last weeks, Android\'s NSD implementation is making me go mad:

From a user\'s point of view, the following problems arise:

  • Devices

2条回答
  •  野的像风
    2021-02-05 11:30

    Still no difference with Android NSD. I had been using Marshmallow version of Android and NSD actually is still unreliable. I replaced the NSD with RxDNSSD ( https://github.com/andriydruk/RxDNSSD ). Few liner code works perfect till now.

    I tested NSD & RXDNSSD, NSD was able to discover service but not able to resolve IP address while RXDNSSD was working all the time.

    Hope it will help for other users.

提交回复
热议问题