Skip to content
Snippets Groups Projects
Commit 5a1d0259 authored by owner's avatar owner
Browse files

Homework 2

parent 1b3912a8
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
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