EventBuffer::write

EventBuffer::write

(PECL event >= 1.6.0)

EventBuffer::writeWrite contents of the buffer to a file or socket

Description

public int EventBuffer::write (  mixed $fd  [,  int $howmuch  ] )

Write contents of the buffer to a file descriptor. The buffer will be drained after the bytes have been successfully written.

Parameters

fd

Socket resource, stream or numeric file descriptor associated normally associated with a socket.

howmuch

The maximum number of bytes to write.

Return Values

Returns the number of bytes written, or FALSE on error.

See Also

© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/eventbuffer.write.php

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部