Skip to content

Commit 4eaa5e9

Browse files
authored
Update Client_Side.java
1 parent db33fa9 commit 4eaa5e9

File tree

1 file changed

+2
-3
lines changed
  • TCP_Server_And_Client_Application/Programed_In_the_teacher's_way.

1 file changed

+2
-3
lines changed

TCP_Server_And_Client_Application/Programed_In_the_teacher's_way./Client_Side.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ private static void accessServer() {
3232
link = new Socket(host, PORT); // STEP 1
3333
Scanner input = new Scanner(link.getInputStream()); // STEP 2
3434

35-
PrintWriter output = new PrintWriter(link.getOutputStream(), true);
36-
// STEP 2
35+
PrintWriter output = new PrintWriter(link.getOutputStream(), true); // STEP 2
3736
Scanner userEntry = new Scanner(System.in);
3837
String message, response;
3938
do {
@@ -61,4 +60,4 @@ private static void accessServer() {
6160
};
6261

6362

64-
};
63+
};

0 commit comments

Comments
 (0)