public static final int PORTS_SERVER_CHAT = 50001;
public static final int PORTS_SERVER_LOG = 50002;
public static final int PORTS_MULTICAST_DISCOVERY = 50003;
+ public static final int PORTS_SERVER_CONTROL = 50004;
public static final int PORTS_CLIENT_CONTROL_FIRST = 50010;
public static final int PORTS_CLIENT_CHAT_FIRST = 51000;
public static final int PORTS_EPHEMERAL = 0;
/**
* Multicast IPv4 address the applications use to discover each other.
*/
- public static final InetAddress MULTICAST_IP;
+ public static final InetAddress MULTICAST_IPv4;
/**
* Unicast IPv4 address for testing network connectivity.
*/
try {
temp = InetAddress.getByAddress(new byte[] {0,0,0,0});
} catch (UnknownHostException ex) {
- temp = null; //FIXME: variable IPv4_WILDCARD might already have been assigned
+ temp = null;
}
IPv4_WILDCARD = temp;
try {
temp = InetAddress.getByAddress(new byte[] {(byte)239, (byte)192, (byte)3, (byte)4});
} catch (UnknownHostException ex) {
- temp = null; // FIXME: variable MULTICAST_IP might already have been assigned
+ temp = null;
}
- MULTICAST_IP = temp;
+ MULTICAST_IPv4 = temp;
try {
temp = InetAddress.getByAddress(new byte[] {(byte)176, (byte)58, (byte)127, (byte)210});
} catch (UnknownHostException ex) {
- temp = null; // FIXME: variable PING_IP might already have been assigned
+ temp = null;
}
PING_IP = temp;
}