Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReactiveNetwork(RN) usage of IPv6 and DNS results prioritization #465

Open
yifeifiona opened this issue Oct 25, 2022 · 1 comment
Open
Labels

Comments

@yifeifiona
Copy link

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.

Any information will be appreciated!
Thanks,

@pwittchen
Copy link
Owner

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.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 :).

Regards,
Piotr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants