From 77ceb31ead1e0f14ead253d1ca21b1c341c6dd0b Mon Sep 17 00:00:00 2001 From: "william.oblak" <william.oblak@nps.edu> Date: Tue, 9 May 2023 15:18:47 -0700 Subject: [PATCH] Updated Assignment 2 to after revert issues from last week --- .../homework2/Oblak/UnicastUdpSender.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assignments/src/MV3500Cohort2023MarchJune/homework2/Oblak/UnicastUdpSender.java b/assignments/src/MV3500Cohort2023MarchJune/homework2/Oblak/UnicastUdpSender.java index 6c82fd9f6f..c9df2c8982 100644 --- a/assignments/src/MV3500Cohort2023MarchJune/homework2/Oblak/UnicastUdpSender.java +++ b/assignments/src/MV3500Cohort2023MarchJune/homework2/Oblak/UnicastUdpSender.java @@ -28,7 +28,7 @@ public class UnicastUdpSender // public static final int SENDING_PORT = 1414; // not needed, can let system choose an open local port /** socket value of shared interest */ public static final int UDP_PORT = UnicastUdpReceiver.UDP_PORT; // 1415; ensure consistent - private static final int TOTAL_PACKETS_TO_SEND = 100; + private static final int TOTAL_PACKETS_TO_SEND = 50; /** socket value of shared interest */ public static final String DESTINATION_HOST = "localhost"; @@ -46,7 +46,7 @@ public class UnicastUdpSender DataOutputStream dos = null; int packetID = 0; // counter variable to send in packet float value = -1.0f; // unreachable value is good sentinel to ensure expected changes occur - String message = MY_NAME + " says Hello MV3500"; // no really + String message = MY_NAME + " says Hello to assingment 2 "; // no really String padding = new String(); try -- GitLab