+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
+ * @copyright CiviCRM LLC (c) 2004-2017
*/
/**
}
/**
- * Check whether a TCP service is available on $host and $port
+ * Check whether a TCP service is available on $host and $port.
+ *
+ * @param string $host
+ * @param string $port
+ * @param string $serverConnectionTimeOut
+ *
+ * @return bool
*/
public static function checkService($host, $port, $serverConnectionTimeOut) {
$old_error_reporting = error_reporting();