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

update example and terminal log

parent 594f76bc
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
......@@ -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:
......
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