Updated var server multicast address to 239.3.14.15. Ref #452

This commit is contained in:
John M. Penn 2017-07-05 16:40:22 -05:00
parent 2a79c4a3cd
commit 841473583c
3 changed files with 3 additions and 3 deletions

View File

@ -1411,7 +1411,7 @@ public class SimControlApplication extends TrickApplication implements PropertyC
private void retrieveHostPort() {
try {
multicastSocket = new MulticastSocket(9265);
InetAddress group = InetAddress.getByName("224.3.14.15");
InetAddress group = InetAddress.getByName("239.3.14.15");
multicastSocket.joinGroup(group);
byte[] buffer = new byte[1024];

View File

@ -63,7 +63,7 @@ public class SimulationSniffer extends Thread {
public void run() {
try {
multicastSocket = new MulticastSocket(9265) {{
joinGroup(InetAddress.getByName("224.3.14.15"));
joinGroup(InetAddress.getByName("239.3.14.15"));
}};
byte[] buffer = new byte[4096];
DatagramPacket packet = new DatagramPacket(buffer, buffer.length);

View File

@ -156,7 +156,7 @@ void * Trick::VariableServerListenThread::thread_body() {
/* Set up destination address */
memset(&mcast_addr, 0, sizeof(mcast_addr));
mcast_addr.sin_family = AF_INET;
mcast_addr.sin_addr.s_addr = inet_addr("224.3.14.15");
mcast_addr.sin_addr.s_addr = inet_addr("239.3.14.15");
mcast_addr.sin_port = htons((uint16_t) 9265);
}