lithium\net\socket\Stream::eof()

public method

Determines if the socket resource is at EOF.

Returns

boolean

Returns true if resource pointer is at its EOF, false otherwise.

Source

	public function eof() {
		return is_resource($this->_resource) ? feof($this->_resource) : true;
	}