diff --git a/assignments/src/MV3500Cohort2024JulySeptember/homework2/Bavlsik/BavlsikClient.java b/assignments/src/MV3500Cohort2024JulySeptember/homework2/Bavlsik/BavlsikClient.java index 94fdb5e9a4f38266a166be160b3ac3a896fe3143..3879e0d2cc5be948a0f1e07b62fd9ce60e78952e 100644 --- a/assignments/src/MV3500Cohort2024JulySeptember/homework2/Bavlsik/BavlsikClient.java +++ b/assignments/src/MV3500Cohort2024JulySeptember/homework2/Bavlsik/BavlsikClient.java @@ -8,11 +8,16 @@ import java.net.Socket; import java.util.Scanner; /** - * + * This client attempts to connect to a desired server. If the client is unable + * to connect then it exits the program. Enter 'quit' to the command line at any + * time to exit. * @author tbavlsik */ public class BavlsikClient { + /** + * Localhost address. + */ public final static String LOCALHOST = "0:0:0:0:0:0:0:1"; //Local host /** diff --git a/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java b/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java index 110b07a34a6b10224abfb7e64bbb038d082f6984..19849b95282785747b0ba46ee4005f3063be5a35 100644 --- a/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java +++ b/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java @@ -11,7 +11,7 @@ import java.util.Scanner; /** * This client program establishes a socket connection to the {@link LennonHW2DispatchServer}, * then plays a random number guessing game. - * No fancy footwork here, it is pretty simple and similar to {@link TcpExample3Client}. + * No fancy footwork here, it is pretty simple and similar to {TcpExample3Client}. * * see TcpExample4DispatchServer * see TcpExample4HandlerThread diff --git a/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2HandlerThread.java b/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2HandlerThread.java index cce06e30b1f2cc41f8dd846f602ee6c9d0c8a0ad..ae2efde18bf5ffa7dc74ad60c8a5be9a994a8e51 100644 --- a/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2HandlerThread.java +++ b/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2HandlerThread.java @@ -15,7 +15,7 @@ import java.util.Random; * if the server can't respond to a connection for several seconds. * </p> * <p> - * Warning: do not run this class! It is created and used automatically by {@link TcpExample4DispatchServer} at run time. + * Warning: do not run this class! It is created and used automatically by {@link LennonHW2DispatchServer} at run time. * </p> * * see TcpExample4Client diff --git a/examples/src/OpenDis7Examples/AllPduReceiver.java b/examples/src/OpenDis7Examples/AllPduReceiver.java index 424ab01244d066a36803ca2b3ae0e425b4eb07cf..437b51d4413435b2b725a341e2aea3c08e864047 100644 --- a/examples/src/OpenDis7Examples/AllPduReceiver.java +++ b/examples/src/OpenDis7Examples/AllPduReceiver.java @@ -52,7 +52,7 @@ public class AllPduReceiver } else { - System.out.println("Usage: AllPduReceiver <multicast group> <port>"); + System.out.println("Usage: AllPduReceiver <multicast group address> <port>"); System.out.println("Default: AllPduReceiver " + DEFAULT_MULTICAST_ADDRESS + " " + DEFAULT_MULTICAST_PORT); multicastSocket = new MulticastSocket(DEFAULT_MULTICAST_PORT); multicastInetAddress = InetAddress.getByName(DEFAULT_MULTICAST_ADDRESS); diff --git a/examples/src/OpenDis7Examples/AllPduSender.java b/examples/src/OpenDis7Examples/AllPduSender.java index 441f9c1006c4c88eb6039de6f44e01a8e09b7594..57abbb763495462e7a8800c378f16af1be7cd9cb 100755 --- a/examples/src/OpenDis7Examples/AllPduSender.java +++ b/examples/src/OpenDis7Examples/AllPduSender.java @@ -541,13 +541,13 @@ public class AllPduSender if (args.length == 2) { - System.out.println("Usage: AllPduSender <multicast group> <port>"); + System.out.println("Usage: AllPduSender <multicast group address> <port>"); System.out.println("Actual: AllPduSender " + multicastInetAddress.getHostAddress() + " " + port); allPduSender = new AllPduSender(args[0], Integer.parseInt(args[1])); } else { - System.out.println("Usage: AllPduSender <multicast group> <port>"); + System.out.println("Usage: AllPduSender <multicast group address> <port>"); System.out.println("Default: AllPduSender " + DEFAULT_MULTICAST_ADDRESS + " " + DEFAULT_MULTICAST_PORT); allPduSender = new AllPduSender(DEFAULT_MULTICAST_ADDRESS, DEFAULT_MULTICAST_PORT); }