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

This site uses Akismet to reduce spam. Learn how your comment data is processed.