diff --git a/assignments/src/MV3500Cohort2020JulySeptember/homework1/BrittTCPExample1.java b/assignments/src/MV3500Cohort2020JulySeptember/homework1/BrittTCPExample1.java index ba2c0903a529f16840e6bb46faf93d7392d7a1a1..042386f46d1d18139b574c63136ff8b365e1907d 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