diff --git a/CourseExamples/src/TcpExamples/TcpExample2ConnectionCounting.java b/CourseExamples/src/TcpExamples/TcpExample2ConnectionCounting.java index 3a4ecc63c778154eb78bdb98e84e5d743f1eea2c..7718c5d24fd056ee778ab675a1d42eeb92a0271f 100644 --- a/CourseExamples/src/TcpExamples/TcpExample2ConnectionCounting.java +++ b/CourseExamples/src/TcpExamples/TcpExample2ConnectionCounting.java @@ -27,7 +27,8 @@ public class TcpExample2ConnectionCounting { try { - System.out.println("TcpExample2ConnectionCounting has started and is waiting for a connection: telnet localhost 2317" ); + System.out.println("TcpExample2ConnectionCounting has started and is waiting for a connection."); + System.out.println(" enter (nc localhost 2317) or (telnet localhost 2317)..." ); // ServerSocket waits for a connection from a client. // Notice that it is outside the loop; ServerSocket