From 621f6cf9f90a8ca7f3aa05c14e323620a653f505 Mon Sep 17 00:00:00 2001
From: brutzman <brutzman@nps.edu>
Date: Thu, 5 Jul 2018 09:40:47 -0700
Subject: [PATCH] simple addition to output message that distinguishes client
 from server

---
 projects/TcpExample1/src/tcpexample1/TcpExample.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/projects/TcpExample1/src/tcpexample1/TcpExample.java b/projects/TcpExample1/src/tcpexample1/TcpExample.java
index 9331507fcd..20613d1fe7 100644
--- a/projects/TcpExample1/src/tcpexample1/TcpExample.java
+++ b/projects/TcpExample1/src/tcpexample1/TcpExample.java
@@ -48,8 +48,8 @@ public class TcpExample
             OutputStream os = clientConnection.getOutputStream();
             PrintStream ps = new PrintStream(os);
             
-					ps.println("This response was written by server TcpExample1"); // to remote client
-			System.out.println("This response was written by server TcpExample1"); // to server console
+					ps.println("This client response was written by server TcpExample1"); // to remote client
+			System.out.println("This server response was written by server TcpExample1"); // to server console
             
             // "flush()" in important in that it forces a write 
             // across what is in fact a slow connection
-- 
GitLab