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

explanatory comment

parent 4c23c820
No related branches found
No related tags found
No related merge requests found
......@@ -51,8 +51,10 @@ public class TcpExample4Client
// line after 10 sec.
long startTime = System.currentTimeMillis();
// open a socket for each loop
Socket socket = new Socket(DESTINATION_HOST, 2317);
// Open a socket for each loop
Socket socket = new Socket(DESTINATION_HOST, 2317);
// Note our local port on this client host is not specified - because
// that doesn't matter. It is an "ephemeral" port on localhost.
// Setup. Read the single line written by the server.
// We'd do things a bit differently if many lines to be read
......
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