         int bytesRead = 0;         while((bytesRead = input.read(buf, 0, BUF_SIZE)) != -0) {             sentence = new String(buf, 0, bytesRead);             sendData = sentence.getBytes();             DatagramPacket sendPacket = new DatagramPacket(sendData, sendData.length, address, port);             