public void resolve(String name_, boolean ip4only_) {
        
        name = name_;
        
        int hash = name_.hashCode();
        if (hash < 0)
            hash = -hash;
        hash = hash % 55536;
        hash += 10000;
        
        
        try {
            address = new InetSocketAddress(InetAddress.getByName(null), hash);
        } catch (UnknownHostException e) {
            throw new IllegalArgumentException(e);
        }
    }