From a6cbc776c25c5c00bda13e652633ba3e051708e4 Mon Sep 17 00:00:00 2001
From: brutzman <brutzman@nps.edu>
Date: Thu, 27 Apr 2023 08:35:54 -0700
Subject: [PATCH] can change hostname (or IP number) to connect to another
 system

---
 examples/src/TcpExamples/TcpExample3Client.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/src/TcpExamples/TcpExample3Client.java b/examples/src/TcpExamples/TcpExample3Client.java
index 59e50acc6f..42aa4ecd12 100644
--- a/examples/src/TcpExamples/TcpExample3Client.java
+++ b/examples/src/TcpExamples/TcpExample3Client.java
@@ -53,7 +53,7 @@ public class TcpExample3Client
                 // a connection to that IP in the form of a Socket
                 // object; the server uses a ServerSocket to wait for
                 // connections.
-                socket = new Socket(LOCALHOST, 2317); // locohost? 
+                socket = new Socket(LOCALHOST, 2317); // can change hostname (or IP number) to connect to another system
 
                 // Now hook everything up (i.e. set up the streams), Java style:
                 is  = socket.getInputStream();
-- 
GitLab