Skip to content

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

Open

Description

@yifeifiona

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,

Activity

  1. pwittchen commented on Oct 26, 2022

    @pwittchen
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions