optional IPv4

This commit is contained in:
M.Scholz 2012-11-20 15:46:17 +01:00
parent 57e66c347e
commit b44d46cf62

View File

@ -30,6 +30,7 @@ public class Node {
private UDPListen udpListen;
public Node() {
//System.setProperty("java.net.preferIPv4Stack" , "true"); // optional IPv4 (mac, windows)
try {
channel = DatagramChannel.open();
channel.socket().bind(null);