optional IPv4
This commit is contained in:
parent
57e66c347e
commit
b44d46cf62
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user