Skip to content

java.net.preferIPv6Addresses is set to false #157

@Betalord

Description

@Betalord

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions