From 14a521ef63d797da864a3cfa04092748a2bce5c9 Mon Sep 17 00:00:00 2001 From: Brittokki <Brittokki@192.168.0.6> Date: Wed, 5 Aug 2020 09:35:11 -0700 Subject: [PATCH] --- .../homework1/BrittTCPExample1.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/assignments/src/MV3500Cohort2020JulySeptember/homework1/BrittTCPExample1.java b/assignments/src/MV3500Cohort2020JulySeptember/homework1/BrittTCPExample1.java index ba2c0903a5..042386f46d 100644 --- a/assignments/src/MV3500Cohort2020JulySeptember/homework1/BrittTCPExample1.java +++ b/assignments/src/MV3500Cohort2020JulySeptember/homework1/BrittTCPExample1.java @@ -37,10 +37,8 @@ public static void main(String[] args) OutputStream os = clientConnection.getOutputStream(); PrintStream ps = new PrintStream(os); - ps.println("This client response was written by Loki's server TcpExample1."); // to remote clientnc - ps.println(" _ _ _"+"\r\n"+"| | | | (_)"+"\r\n"+"| | ___ | | ___"+"\r\n"+"| |/ _ \\| |/ / |"+"\r\n"+"| | (_) | <| |"+"\r\n"+"|_|\\___/|_|\\_\\_|"); - System.out.println("This server response was written by Loki's server TcpExample1."); // to server console - System.out.println(" _ _ _"+"\n"+"| | | | (_)"+"\n"+"| | ___ | | ___"+"\n"+"| |/ _ \\| |/ / |"+"\n"+"| | (_) | <| |"+"\n"+"|_|\\___/|_|\\_\\_|"); + ps.println("This client response was written Captain Brittokki"); + System.out.println("This server response was written Captain Brittokki"); // "flush()" in important in that it forces a write // across what is in fact a slow connection -- GitLab