You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ReactiveNetwork(RN) usage of IPv6 and DNS results prioritization #465
Hi,
I would like to understand RN usage on IPv4 and IPv6 since I can't find in any documentation regarding this.
More specifically, I would like to know:
Does RN officially support IPv6?
Does RN prioritize the use of IPv4 over IPv6?
Is it possible to configure IPv4 over IPv6?
The goal is to prioritize the use of IPv4 since it provides a more stable experience.
RN library does not have any low-level code regarding prioritization of IPv6 over IPv4 or the other way around. Inside the library, in the internet.observing package, for verifying Internet connectivity, I'm using java.net.Socket, java.net.HttpURLConnection or javax.net.ssl.HttpsURLConnection depending on the chosen strategy. Java/Android handles other things related to this connectivity verification (probably IP prioritization too). In order, to implement such prioritization within the library, more research needs to be done. Any suggestions or PRs are appreciated. Nevertheless, I need to find some time to do more updates in this project :).
Activity
pwittchen commentedon Oct 26, 2022
Hi @yifeifiona,
RN library does not have any low-level code regarding prioritization of IPv6 over IPv4 or the other way around. Inside the library, in the
internet.observingpackage, for verifying Internet connectivity, I'm usingjava.net.Socket,java.net.HttpURLConnectionorjavax.net.ssl.HttpsURLConnectiondepending on the chosen strategy. Java/Android handles other things related to this connectivity verification (probably IP prioritization too). In order, to implement such prioritization within the library, more research needs to be done. Any suggestions or PRs are appreciated. Nevertheless, I need to find some time to do more updates in this project :).Regards,
Piotr