private void sendRequest(BlockPdu pdu) throws PduException, IOException {
   varbind[] var = pdu.getResponseVariableBindings();
   if (var != null) {
     int sz = var.length;
     System.out.println("Received answer " + sz);
     for (int i = 0; i < sz; i++) {
       AsnObjectId oid = var[i].getOid();
       AsnObject res = var[i].getValue();
       System.out.println(oid.toString() + ": " + res.toString());
     }
   } else {
     System.out.println("Received no answer");
   }
 }