1
0
Fork 0

Formatierung

main
Sandro Leuchter 2025-10-06 07:47:00 +00:00
parent fd8dd57090
commit da81d27979
1 changed files with 1 additions and 2 deletions

View File

@ -37,8 +37,7 @@ public class TimeServer {
while (true) {
socket.receive(packetIn);
System.out.println(
"Received from: " + packetIn.getAddress().getHostAddress() + ":" + packetIn.getPort());
System.out.println("Received from: " + packetIn.getAddress().getHostAddress() + ":" + packetIn.getPort());
String jetzt = (new Date()).toString();
packetOut.setData(jetzt.getBytes());
packetOut.setLength(jetzt.length());