Logo Search packages:      
Sourcecode: egroupware-egw-pear version File versions  Download package

Net_Socket::gets ( size  ) 

Get a specified line of data

public

Returns:
$size bytes of data from the socket, or a PEAR_Error if not connected.

Definition at line 271 of file Socket.php.

    {
        if (!is_resource($this->fp)) {
            return $this->raiseError('not connected');
        }

        return @fgets($this->fp, $size);
    }


Generated by  Doxygen 1.6.0   Back to index