mirror of
https://github.com/nasa/trick.git
synced 2025-04-13 14:13:03 +00:00
Updated var server multicast address to 239.3.14.15. Ref #452
This commit is contained in:
parent
2a79c4a3cd
commit
841473583c
@ -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];
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user