Snoopy::_check_timeout

Advertisement

Syntax Syntax

Snoopy::_check_timeout( $fp )

Source Source

File: wp-includes/class-snoopy.php

	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;
	}

Advertisement

Advertisement

Leave a Reply