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

clarity similar to Example 1

parent 1bea3a8e
No related branches found
No related tags found
No related merge requests found
......@@ -47,8 +47,8 @@ public class TcpExample2
OutputStream os = clientConnection.getOutputStream();
PrintStream ps = new PrintStream(os);
ps.println("This response was written by server TcpExample2"); // to remote client
System.out.println("This response was written by server TcpExample2"); // to server console
ps.println("This client response was written by server TcpExample2"); // to remote client
System.out.println("This sedrver response was written by server TcpExample2"); // to server console
// Print some information locally about the Socket
// connection. This includes the port and IP numbers
......
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