Home > PHP > Function > Libevent > event_buffer_timeout_set()

event_buffer_timeout_set()

event_buffer_timeout_set - Set read and write timeouts for a buffered event

Syntax

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

Arguments

  • bevent - Valid buffered event resource.
  • read_timeout - Read timeout (in seconds).
  • write_timeout - Write timeout (in seconds).

Description

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

Version

PHP PECL libevent >= 0.0.1

Return value