Skip to content
Snippets Groups Projects
Commit c7c4715c authored by brutzman's avatar brutzman
Browse files

update example and terminal log

parent f22e740d
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,8 @@ public class TcpExample2ConnectionCounting ...@@ -27,7 +27,8 @@ public class TcpExample2ConnectionCounting
{ {
try 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. // ServerSocket waits for a connection from a client.
// Notice that it is outside the loop; ServerSocket // Notice that it is outside the loop; ServerSocket
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment