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

Net_Socket::writeLine ( data  ) 

Write a line of data to the socket, followed by a trailing "\r\n".

public

Returns:
mixed fputs result, or an error

Definition at line 343 of file Socket.php.

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

        return fwrite($this->fp, $data . "\r\n");
    }


Generated by  Doxygen 1.6.0   Back to index