You are here

function Net_Socket::eof in Flickr API 5

Tests for end-of-file on a socket descriptor.

@access public

Return value

bool

File

phpFlickr/PEAR/Net/Socket.php, line 334

Class

Net_Socket
Generalized Socket class.

Code

function eof() {
  return is_resource($this->fp) && feof($this->fp);
}