andriydruk / RxDNSSD

Android version of mDNSResponder
Apache License 2.0
298 stars 75 forks source link

Create Rx version of DNSServiceReconfirmRecord #55

Open githubforzjm opened 5 years ago

githubforzjm commented 5 years ago

Could you please check this question(https://stackoverflow.com/questions/45987212/nsd-manager-keeps-old-service-in-memory-even-when-they-are-not-on-the-network-a) on Stack Overflow

Here is Example of calling DNSServiceReconfirmRecord on IOS https://developer.apple.com/library/archive/documentation/Networking/Conceptual/NSNetServiceProgGuide/Articles/ResolvingServices.html image

It's not recommended, but there are some situations where I need to do this

Is there any way you can implement this feature?

Please contact me. Thank you

jimin.zheng@linkplay.com

andriydruk commented 5 years ago

This feature is implemented in DNSSD https://github.com/andriydruk/RxDNSSD/blob/master/dnssd/src/main/java/com/github/druk/dnssd/DNSSD.java#L535

We don't have Rx wrapper for this API, but you can use it directly with DNSSD

githubforzjm commented 5 years ago

Thank you very, very much for your help!!! It works