Skip to content
Snippets Groups Projects
Commit 29cf8d5f authored by brutzman's avatar brutzman
Browse files

report initialization address, port on console output

parent 559752dc
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,8 @@ public class EspduReceiver
address = InetAddress.getByName(DEFAULT_MULTICAST_ADDRESS);
socket.joinGroup(address);
System.out.println("OpenDis7Examples.EspduReceiver: listening for PDU packets on " + address.getHostAddress() + " port " + DEFAULT_MULTICAST_PORT);
while (true) // Loop infinitely, receiving datagrams
{
......
......@@ -132,6 +132,7 @@ public class EspduSender
System.out.println(e);
System.exit(-1); // outta here
}
System.out.println("EspduPduSender: sending ESPDU packets to " + address.getHostAddress() + " port " + port);
// Initialize values in the Entity State PDU object. The exercise ID is
// a way to differentiate between different virtual worlds on one network.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment