Skip to content
Snippets Groups Projects
Commit df81fa33 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

editorial

parent 927f3684
No related branches found
No related tags found
No related merge requests found
......@@ -37,10 +37,10 @@ public class TcpExample4Client
public static void main(String[] args) {
try {
System.out.println(TcpExample4Client.class.getName() + " start, loop " + MAX_LOOP_COUNT + " times");
System.out.println("==================================================");
System.out.println("=======================================================");
for (int loopCount = 1; loopCount <= MAX_LOOP_COUNT; loopCount++) // loop then exit
{
System.out.println(TcpExample4Client.class.getName() + " creating socket #" + loopCount + "...");
System.out.println(TcpExample4Client.class.getName() + " creating new socket #" + loopCount + "...");
// We request an IP to connect to ("localhost") and
// port number at that IP (2317). This establishes
......@@ -67,7 +67,7 @@ public class TcpExample4Client
System.out.println(TcpExample4Client.class.getName() + ": message received from server='" + serverMessage + "'");
System.out.println(TcpExample4Client.class.getName() + ": time msec required for read=" + timeLength);
System.out.println("==================================================");
System.out.println("=======================================================");
// To push this further, launch multiple copies of TcpExample4Client simultaneously
}
System.out.println(TcpExample4Client.class.getName() + " complete");
......
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