Activity for Open Chord

  • Jan Scholz Jan Scholz modified a comment on ticket #2

    I fixed the issue you get the the first reasonable ipv4 address with this snippet, works on windows and linux the changed file can be downloaded here String host = ""; Enumeration<NetworkInterface> nets = java.net.NetworkInterface.getNetworkInterfaces(); start: for (NetworkInterface netint : Collections.list(nets)) { for (InetAddress addr : Collections.list(netint.getInetAddresses())) { if(!addr.isLinkLocalAddress() && !addr.isLoopbackAddress()) { // change to Inet6Address if you prefer ip6 if (addr...

  • Jan Scholz Jan Scholz posted a comment on ticket #2

    I fixed the issue you get the the first reasonable ipv4 address with this snippet, works on windows and linux the change file can be downloaded here String host = ""; Enumeration<NetworkInterface> nets = java.net.NetworkInterface.getNetworkInterfaces(); start: for (NetworkInterface netint : Collections.list(nets)) { for (InetAddress addr : Collections.list(netint.getInetAddresses())) { if(!addr.isLinkLocalAddress() && !addr.isLoopbackAddress()) { // change to Inet6Address if you prefer ip6 if (addr...

1