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

java.net.preferIPv6Addresses is set to false #157

Open
Betalord opened this issue Mar 26, 2020 · 0 comments
Open

java.net.preferIPv6Addresses is set to false #157

Betalord opened this issue Mar 26, 2020 · 0 comments

Comments

@Betalord
Copy link

In Client.java (https://github.com/EsotericSoftware/kryonet/blob/master/src/com/esotericsoftware/kryonet/Client.java) at line 53, there is a call:
System.setProperty("java.net.preferIPv6Addresses", "false");
Now I don't think this is necessary. On my phone, it returns this error:

03-26 10:56:33.042: E/System(11677): Ignoring attempt to set property "java.net.preferIPv6Addresses" to value "false".

Which is an error, but gets ignored (app runs regardless of it on my phone). I'm not sure about it, however I think it should be fixed.

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

No branches or pull requests

1 participant