formatting work

This commit is contained in:
eugenp
2016-11-03 18:04:09 +02:00
parent 455df4e499
commit 8ce7e1f588
13 changed files with 106 additions and 144 deletions

View File

@@ -24,7 +24,7 @@ public class EchoClient {
public String sendEcho(String msg) {
DatagramPacket packet = null;
try {
buf=msg.getBytes();
buf = msg.getBytes();
packet = new DatagramPacket(buf, buf.length, address, 4445);
socket.send(packet);
packet = new DatagramPacket(buf, buf.length);