array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'eventbufferevent.settimeouts.php', 1 => 'EventBufferEvent::setTimeouts', 2 => 'Set the read and write timeout for a buffer event', ), 'up' => array ( 0 => 'class.eventbufferevent.php', 1 => 'EventBufferEvent', ), 'prev' => array ( 0 => 'eventbufferevent.setpriority.php', 1 => 'EventBufferEvent::setPriority', ), 'next' => array ( 0 => 'eventbufferevent.setwatermark.php', 1 => 'EventBufferEvent::setWatermark', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/eventbufferevent/settimeouts.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

EventBufferEvent::setTimeouts

(PECL event >= 1.2.6-beta)

EventBufferEvent::setTimeoutsSet the read and write timeout for a buffer event

Beschreibung

public EventBufferEvent::setTimeouts( float $timeout_read , float $timeout_write ): bool

Set the read and write timeout for a buffer event

Parameter-Liste

timeout_read

Read timeout

timeout_write

Write timeout

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.