try {
Date now = new Date();
String response = now.toString() + "\r\n";
byte[] data = response.getBytes("ASCII");
DatagramPacket outgoing = new DatagramPacket(data,
data.length, packet.getAddress(), packet.getPort());
ds.send(outgoing);
}
catch (IOException e) {
System.err.println(e);
}