diff --git a/projects/TcpExample1/src/tcpexample1/TcpExample.java b/projects/TcpExample1/src/tcpexample1/TcpExample.java index 20613d1fe71e94fe51e072d448f9b7e1b38f6cf4..1641ecc9e60cad6284d820873314781112f75e50 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 client response was written by server TcpExample1"); // to remote client - System.out.println("This server 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