PEAR Manual
Prev |  | Next

# Net_Socket::eof()

Net_Socket::eof() -- test for end-of-file

## Synopsis

    require_once 'Net/Socket.php';

``boolean Net_Socket::eof` ()`

## Description

Test for the end of data transmission.

## Return value

`boolean` - `TRUE`, if no more data avaible or connection is closed

## Note

This function can not be called statically.

Prev | Home | Next
Net_Socket::disconnect() | Up | Net_Socket::gets()