This commit is contained in:
M.Scholz 2012-11-21 10:51:07 +01:00
parent 43c34c7bec
commit 243088fac5

View File

@ -31,10 +31,6 @@ public class Node {
private UDPListen udpListen;
public Node() {
<<<<<<< HEAD
// System.setProperty("java.net.preferIPv4Stack" , "true"); // optional
// IPv4 (mac, windows)
=======
System.setProperty("java.net.preferIPv4Stack" , "true"); // optional IPv4 (mac, windows)
//get a port
@ -48,7 +44,6 @@ public class Node {
}
}
>>>>>>> fixed string.split(), fixed indices
try {
channel = DatagramChannel.open();
channel.socket().bind(new InetSocketAddress("localhost", port));