code: public ArrayList<Pair<String, Integer>> dhtNodes() {
          string_int_pair_vector v = p.get_dht_nodes();
          int size = (int) v.size();
          ArrayList<Pair<String, Integer>> l = new ArrayList<>();
  
          for (int i = 0; i < size; i++) {
              string_int_pair n = v.get(i);
              l.add(new Pair<>(n.getFirst(), n.getSecond()));
          }
  
          return l;
      }
docs: A list of hostname and port pairs, representing DHT nodes to be added
  to the session (if DHT is enabled). The hostname may be an IP address.
  
  @return the list of DHT nodes