diff --git a/CourseExamples/src/TcpExamples/TcpExample1Telnet.java b/CourseExamples/src/TcpExamples/TcpExample1Telnet.java index 03e26c99f76ff8ae8b33f1559961854061c8f7d2..2ba7ab01aa77a0a45d267fcee7982514454fffaa 100644 --- a/CourseExamples/src/TcpExamples/TcpExample1Telnet.java +++ b/CourseExamples/src/TcpExamples/TcpExample1Telnet.java @@ -35,8 +35,8 @@ public class TcpExample1Telnet { try { - System.out.println("TcpExample1Telnet has started and is waiting for a connection:"); - System.out.println("Enter (telnet localhost 2317) or (nc localhost 2317)..." ); + System.out.println("TcpExample1Telnet has started and is waiting for a connection."); + System.out.println(" enter (telnet localhost 2317) or (nc localhost 2317)..." ); // The ServerSocket waits for a connection from a client. // It returns a Socket object when the connection occurs. diff --git a/CourseExamples/src/TcpExamples/TcpExample1TerminalLog.txt b/CourseExamples/src/TcpExamples/TcpExample1TerminalLog.txt index a3570ef56c77673d1b9ed13997d9b5184fd13036..2bc38877fff342314788b81f53d97b73cda259e9 100644 --- a/CourseExamples/src/TcpExamples/TcpExample1TerminalLog.txt +++ b/CourseExamples/src/TcpExamples/TcpExample1TerminalLog.txt @@ -7,11 +7,11 @@ Program responses: =================================================== run: -TcpExample1Telnet has started and is waiting for a connection: -Enter (telnet localhost 2317) or (nc localhost 2317)... +TcpExample1Telnet has started and is waiting for a connection. + enter (telnet localhost 2317) or (nc localhost 2317)... This server response was written by server TcpExample1. TcpExample1 completed successfully. -BUILD SUCCESSFUL (total time: 5 seconds) +BUILD SUCCESSFUL (total time: 16 seconds) =================================================== netcat window: