CChecks::checkIP

Description: Checks if an IP is valid and adds an error message to the message manager in case of an error.
Parameter:
Returns: