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

Net_Socket::setWriteBuffer ( size  ) 

Sets the file buffering size on the stream. See php's stream_set_write_buffer for more information.

Parameters:
integer $size Write buffer size. public
Returns:
mixed on success or an PEAR_Error object otherwise

Definition at line 228 of file Socket.php.

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

        $returned = stream_set_write_buffer($this->fp, $code);
        if ($returned == 0) {
            return true;
        }
        return $this->raiseError('Cannot set write buffer.');
    }


Generated by  Doxygen 1.6.0   Back to index