str=props.getProperty("srv_sock_bind_addr");
str=props.getProperty("bind_addr");
    public boolean setProperties(Properties props) {        String str, tmp=null;        super.setProperties(props);        str=props.getProperty("get_cache_timeout");        if(str != null) {            get_cache_timeout=Long.parseLong(str);            props.remove("get_cache_timeout");        }        str=props.getProperty("suspect_msg_interval");        if(str != null) {            suspect_msg_interval=Long.parseLong(str);            props.remove("suspect_msg_interval");        }        str=props.getProperty("num_tries");        if(str != null) {            num_tries=Integer.parseInt(str);            props.remove("num_tries");        }        str=props.getProperty("start_port");        if(str != null) {            start_port=Integer.parseInt(str);            props.remove("start_port");        }        // PropertyPermission not granted if running in an untrusted environment with JNLP.        try {            tmp=System.getProperty("bind.address");            if(Util.isBindAddressPropertyIgnored()) {                tmp=null;            }        }        catch (SecurityException ex){        }        if(tmp != null)            str=tmp;        else            str=props.getProperty("srv_sock_bind_addr");        if(str != null) {            try {                srv_sock_bind_addr=InetAddress.getByName(str);            }            catch(UnknownHostException unknown) {                if(log.isFatalEnabled()) log.fatal("(srv_sock_bind_addr): host " + str + " not known");                return false;            }            props.remove("srv_sock_bind_addr");        }        if(props.size() > 0) {            log.error("FD_SOCK.setProperties(): the following properties are not recognized: " + props);            return false;        }        return true;    }