diff --git a/projects/TcpExample2/src/tcpexample2/TcpExample2.java b/projects/TcpExample2/src/tcpexample2/TcpExample2.java index ef086580f7e2d79fb57b85cade514faa454bf5ab..ecee5383381d04ecb04ad353639b5268f27ab840 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 client response was written by server TcpExample2"); // to remote client - System.out.println("This sedrver 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 server response was written by server TcpExample2"); // to server console // Print some information locally about the Socket // connection. This includes the port and IP numbers