From c7c4715c27d270fee5e4b8eda875f2777ee610e8 Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@DESKTOP-2S09UKA> Date: Mon, 1 Jul 2019 13:02:17 -0700 Subject: [PATCH] update example and terminal log --- .../src/TcpExamples/TcpExample2ConnectionCounting.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CourseExamples/src/TcpExamples/TcpExample2ConnectionCounting.java b/CourseExamples/src/TcpExamples/TcpExample2ConnectionCounting.java index 3a4ecc63c7..7718c5d24f 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 -- GitLab