Skip to content

Commit 7d3afea

Browse files
authored
Update Main.java
1 parent 3bdcc82 commit 7d3afea

File tree

1 file changed

+1
-2
lines changed
  • UDP_Server_And_Client_Application/Programed_In_the_teacher's_way

1 file changed

+1
-2
lines changed

UDP_Server_And_Client_Application/Programed_In_the_teacher's_way/Main.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public static void handleClient() {
3636
buffer = new byte[256]; //STEP 2
3737
inPacket = new DatagramPacket(buffer, buffer.length); //STEP 3
3838
datagramSocket.receive(inPacket); //STEP 4
39-
4039
clientAddress = inPacket.getAddress(); //STEP 5
4140
clientPort = inPacket.getPort();
4241

@@ -60,4 +59,4 @@ public static void handleClient() {
6059

6160
}
6261
}
63-
}
62+
}

0 commit comments

Comments
 (0)