if(CONFIG_DEBUG) writeLog("Service Reg to DA Using TCP");
logDebug("Service Reg to DA Using TCP");
    protected boolean registerService(ServiceURL url, Vector attrs, DAInfo da) {                Vector scopelist = da.getScopes();        SLPSrvRegMessage msg = new SLPSrvRegMessage(url, scopelist, attrs, locale);        msg.setFlags(SLPMessageHeader.FLAG_FRESH);        if(msg.getLength() <= CONFIG_SLP_MTU) {            if(CONFIG_DEBUG) writeLog("Service Reg to DA Using UDP");            SLPMessageSender ms = new SLPMessageSender(this, CONFIG_SLP_MTU, CONFIG_RETRY, null);            try {                ms.sendSLPMessage(msg,                                   da.getHost(), da.getPort(), CONFIG_RETRY_MAX,                                  unicastCommunicator);            }catch(ServiceLocationException se) {                if(se.getErrorCode() == ServiceLocationException.DA_NOT_AVAILABLE) {                    // DA is most likely down...                    DAs.remove(da.getHost());                    return false;                }            }        }        else {            if(CONFIG_DEBUG) writeLog("Service Reg to DA Using TCP");            SLPTcpClient tcp = new SLPTcpClient(this);            tcp.sendSlpMessage(msg, da.getHost(), da.getPort(), null);        }        return true;    }