|
@@ -31,7 +31,7 @@ public class UdpClientService {
|
|
|
try {
|
|
|
DatagramSocket socket = new DatagramSocket();
|
|
|
InetAddress address = InetAddress.getByName("localhost");
|
|
|
-
|
|
|
+ logger.info("Sent message: {},", message);
|
|
|
byte[] messageBytes = message.getBytes(StandardCharsets.UTF_8);
|
|
|
int totalBytes = messageBytes.length;
|
|
|
int totalChunks = (int) Math.ceil((double) totalBytes / DATA_SIZE);
|