Subj : Android JmDNS vs. Android Network Service Discovery
To   : Digital Man
From : Nightfox
Date : Thu Jun 09 2022 02:59 pm

 Re: Android JmDNS vs. Android Network Service Discovery
 By: Digital Man to Nightfox on Thu Jun 09 2022 02:16 pm

>> I suspected there may be some underlying function to control which
>> type of network addresses are returned.  When using the JmDNS library,
>> there was nothing specifying to use either ipv4 or ipv6 addresses (and
>> it was getting an ipv4 address previously).  I hadn't changed anything
>> in the app to specify which type of address to receive though; for
>> some reason it seemed to change on its own.  It had started working
>> again with the JmDNS library, but when I ran through some specific
>> steps, it triggered something to only get an ipv6 address (no change
>> in the code).

DM> Could the change just simply be on the DNS records for the address your
DM> resolving? Are you seeing this same change in behavior for all addresses
DM> being resolved or just some?

I'd only been testing it with the one printer (which was the only printer that was coming up), so I'm not really sure.

Nightfox

---
� Synchronet � Digital Distortion: digitaldistortionbbs.com