lithium\net\socket\Stream::eof()
Implements
lithium\net\Socket::eof()
Determines if the socket resource is at EOF.
Returns
booleanReturns true
if resource pointer is at its EOF, false
otherwise.
Source
public function eof() {
return is_resource($this->_resource) ? feof($this->_resource) : true;
}