diff --git a/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java b/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java index 0403e222bfe4e365c702f9c4a698fcea2a8a5d60..de94d5fb361ce77f084802c845fed37e3c512050 100644 --- a/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java +++ b/assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java @@ -33,7 +33,6 @@ public class LennonHW2Client // default constructor } static String DESTINATION_HOST = "localhost"; - static int MAX_LOOP_COUNT = 4; /** * Program invocation, execution starts here @@ -43,9 +42,7 @@ public class LennonHW2Client try { boolean play; Scanner scanner = new Scanner(System.in); - System.out.println(LennonHW2Client.class.getName() + " start, loop " + MAX_LOOP_COUNT + " times"); - - //for (int loopCount = 1; loopCount <= MAX_LOOP_COUNT; loopCount++) // loop then exit + do{ System.out.println("======================================================="); System.out.println(LennonHW2Client.class.getName() + " creating new socket ...\n");