Last 5.3 release ever available: PHP 5.3.29 - 5.3 now EOL


(PECL libevent >= 0.0.1)

event_buffer_watermark_setSet the watermarks for read and write events


void event_buffer_watermark_set ( resource $bevent , int $events , int $lowmark , int $highmark )

Sets the watermarks for read and write events. Libevent does not invoke read callback unless there is at least lowmark bytes in the input buffer; if the read buffer is beyond the highmark, reading is stopped. On output, the write callback is invoked whenever the buffered data falls below the lowmark.

Elenco dei parametri


Valid buffered event resource.


Any combination of EV_READ and EV_WRITE.


Low watermark.


High watermark.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top