From 9c96d2be9ec346c4dc9dd3334627f6f8c62483c0 Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Thu, 19 Jul 2018 09:14:14 -0700 Subject: [PATCH] clarity similar to Example 1 --- projects/TcpExample2/src/tcpexample2/TcpExample2.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/TcpExample2/src/tcpexample2/TcpExample2.java b/projects/TcpExample2/src/tcpexample2/TcpExample2.java index 74b098cda5..ef086580f7 100644 --- a/projects/TcpExample2/src/tcpexample2/TcpExample2.java +++ b/projects/TcpExample2/src/tcpexample2/TcpExample2.java @@ -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 -- GitLab