Libevent 函数
PHP 手册

event_buffer_timeout_set

(PECL libevent >= 0.0.1)

event_buffer_timeout_setSet read and write timeouts for a buffered event

说明

void event_buffer_timeout_set ( resource $bevent , int $read_timeout , int $write_timeout )

Sets the read and write timeouts for the specified buffered event.

参数

bevent

Valid buffered event resource.

read_timeout

Read timeout (in seconds).

write_timeout

Write timeout (in seconds).


Libevent 函数
PHP 手册