protected static InetAddress convertBindAddress(String value) throws Exception {
            InetAddress retval=null;
            Util.AddressScope addr_scope=null;
            try {
                addr_scope=Util.AddressScope.valueOf(value.toUpperCase());
            }
            catch(Throwable ex) {
            }

            if(addr_scope != null)
                retval=Util.getAddress(addr_scope);
            else {
                if(value.startsWith("match"))
                    retval=Util.getAddressByPatternMatch(value);
                else {
                    retval=InetAddress.getByName(value);
                    //if(retval != null && !retval.isMulticastAddress())
                      //  Util.checkIfValidAddress(retval, null);
                    if(retval != null)
                        return retval;
                }
            }

            if(retval instanceof Inet4Address && retval.isMulticastAddress() && Util.getIpStackType() == StackType.IPv6) {
                String tmp=prefix + value;
                retval=InetAddress.getByName(tmp);
                return retval;
            }
            return retval;
        }