EsotericSoftware / EsotericSoftware/kryonet

java.net.preferIPv6Addresses is set to false

Open
#157 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.