/* send our XMLRPC message and timeout after 240 seconds */
$resp=$cli->send($msg,"240");
if(!is_object($resp)){
$error="A communications error occurred while attempting XMLRPC sync with username {$username}{$url}:{$port}.";
}elseif($resp->faultCode()){
$error="An error code was received while attempting XMLRPC sync with username {$username}{$url}:{$port} - Code ".$resp->faultCode().": ".$resp->faultString();
}else{
}else{
$parsed_response=XML_RPC_decode($resp->value());
// propagate error to log
if(!is_array($parsed_response)){
$error="An error occurred while attempting XMLRPC sync with username {$username} and {$url} ".$client->error;
$error="An error code was received while attempting XMLRPC sync with username {$username}{$url}:{$port} - Code ".$resp->faultCode().": ".$resp->faultString();
$error="An error code was received while attempting Filter sync with username {$username}{$synchronizetoip}:{$port} - Code ".$resp->faultCode().": ".$resp->faultString();