kryonet icon indicating copy to clipboard operation
kryonet copied to clipboard

java.net.preferIPv6Addresses is set to false

Open Betalord opened this issue 5 years ago • 0 comments

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.

Betalord avatar Mar 26 '20 10:03 Betalord