log.error(e);
System.err.println(e);
        public void run() {            while(t != null) {                try {                    buf=new byte[256];                    packet=new DatagramPacket(buf, buf.length);                    sock.receive(packet);                    System.out.println("<< Received response from " +                                       packet.getAddress().getHostAddress() + ':' +                                       packet.getPort() + ": " + new String(packet.getData()));                }                catch(Exception e) {                    log.error(e);                    break;                }            }            t=null;        }