Snoopy::_check_timeout()publicWP 1.0

Method of the class: Snoopy{}

No Hooks.

Return

null. Nothing (null).

Usage

$Snoopy = new Snoopy();
$Snoopy->_check_timeout( $fp );
$fp (required)
-

Snoopy::_check_timeout() code WP 6.5.3

function _check_timeout($fp)
{
	if ($this->read_timeout > 0) {
		$fp_status = socket_get_status($fp);
		if ($fp_status["timed_out"]) {
			$this->timed_out = true;
			return true;
		}
	}
	return false;
}