Skip to content
Snippets Groups Projects
Commit b763bc7c authored by justi's avatar justi
Browse files

Frank Assignment 2

parent d3adfe04
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,10 @@ public class FrankClient {
System.out.print( clientLoopCount + ": ");
System.out.println("Hola!");
System.out.println("The message the server sent was: '" + serverMessage + "'");
// socket gets closed, either automatically/silently by this code (or possibly by the server)
int count = 0;
System.out.println("KyleClient responds with: KyleServer!! This is KyleClient!! Come in Over!!. This this my ***break***" + count +" time trying to contact you.");
count++;
// socket gets closed, either automatically/silently by this code (or possibly by the server)
if (serverMessage.equals("this is good bye message from Franks server")) { //if client recieved termanation message stop client
break;
}
......
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