« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 9 of about 9 for getLastSocketError (0.003 sec.)
EventUtil::getLastSocketError — Returns the most recent socket error | PHP 8.3 13786
EventUtil::getLastSocketError (PECL event >= 1.2.6-beta) EventUtil::getLastSocketError — Returns the most recent socket error 説明 public static function EventUtil::getLastSocketError ( mixed $socket = ? ): string Returns the most recent so ...
https://man.mtool.work/php/8.3/eventutil.getlastsocketerror.html
EventUtil::getLastSocketErrno — Returns the most recent socket error number | P... 9347
EventUtil::getLastSocketErrno (PECL event >= 1.2.6-beta) EventUtil::getLastSocketErrno — Returns the most recent socket error number 説明 public static function EventUtil::getLastSocketErrno ( mixed $socket = null ): int Returns the most re ... rce, stream or a file descriptor of a socket. 戻り値 Returns the most recent socket error number( errno ). 参考 EventUtil::getLastSocketError() - Returns the most recent socket error 他のマニュアルの関連ページ Linux JM accept(2) Linux JM accept4(2) Linux JM socket ...
https://man.mtool.work/php/8.3/eventutil.getlastsocketerrno.html
The EventUtil class | PHP 8.3 9203
The EventUtil class (PECL event >= 1.5.0) はじめに EventUtil is a singleton with supplementary methods and constants. クラス概要 final class EventUtil { /* 定数 */ const int AF_INET = 2 ; const int AF_INET6 = 10 ; const int AF_UNSPEC = 0 ; ... lic function __construct () public static function getLastSocketErrno ( mixed $socket = null ): int public static function getLastSocketError ( mixed $socket = ? ): string public static function getSocketFd ( mixed $socket ): int public static function getSocketNa ... onstruct — The abstract constructor EventUtil::getLastSocketErrno — Returns the most recent socket error number EventUtil::getLastSocketError — Returns the most recent socket error EventUtil::getSocketFd — Returns numeric file descriptor of a socket, or stream Eve ...
https://man.mtool.work/php/8.3/class.eventutil.html
例 | PHP 8.3 8646
例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input -> search ( "TTP" ); while (( $n = $bev -> input -> remove ... STDERR , "Got an error %d (%s) on the listener. " . "Shutting down.\n" , EventUtil :: getLastSocketErrno (), EventUtil :: getLastSocketError ()); $base -> exit ( NULL ); } } $port = 9808 ; if ( $argc > 1 ) { $port = (int) $argv [ 1 ]; } if ( $port <= 0 || $port > ... STDERR , "Got an error %d (%s) on the listener. " . "Shutting down.\n" , EventUtil :: getLastSocketErrno (), EventUtil :: getLastSocketError ()); $this -> base -> exit ( NULL ); } // Initialize SSL structures, create an EventSslContext // Optionally create self-s ... STDERR , "Got an error %d (%s) on the listener. " . "Shutting down.\n" , EventUtil :: getLastSocketErrno (), EventUtil :: getLastSocketError ()); $base -> exit ( NULL ); } } if ( $argc <= 1 ) { exit( "Socket path is not provided\n" ); } $sock_path = $argv [ 1 ]; ...
https://man.mtool.work/php/8.3/event.examples.html
EventListener::__construct — Creates new connection listener associated with an... 8232
EventListener::__construct (PECL event >= 1.2.6-beta) EventListener::__construct — Creates new connection listener associated with an event base 説明 public function EventListener::__construct ( EventBase $base , callable $cb , mixed $data ... STDERR , "Got an error %d (%s) on the listener. " . "Shutting down.\n" , EventUtil :: getLastSocketErrno (), EventUtil :: getLastSocketError ()); $base -> exit ( NULL ); } } $port = 9808 ; if ( $argc > 1 ) { $port = (int) $argv [ 1 ]; } if ( $port <= 0 || $port > ...
https://man.mtool.work/php/8.3/eventlistener.construct.html
The EventBufferEvent class | PHP 8.3 8106
The EventBufferEvent class (PECL event >= 1.2.6-beta) はじめに Represents Libevent's buffer event. Usually an application wants to perform some amount of data buffering in addition to just responding to events. When we want to write data, f ... bufferevent operation. For more information on what the error was, call EventUtil::getLastSocketErrno() and/or EventUtil::getLastSocketError() . EventBufferEvent::TIMEOUT EventBufferEvent::CONNECTED Finished a requested connection on the bufferevent. EventBufferE ...
https://man.mtool.work/php/8.3/class.eventbufferevent.html
EventBufferEvent::sslFilter — Create a new SSL buffer event to send its data ov... 8106
EventBufferEvent::sslFilter (PECL event >= 1.2.6-beta) EventBufferEvent::sslFilter — Create a new SSL buffer event to send its data over another buffer event 説明 public static function EventBufferEvent::sslFilter ( EventBase $base , EventB ... getLastSocketErrno (); fprintf ( STDERR , "Got an error %d (%s) on the listener. Shutting down.\n" , $errno , EventUtil :: getLastSocketError ()); if ( $errno != 0 ) { $this -> base -> exit ( NULL ); exit(); } } public function ev_close ( $id ) { $this -> connecti ...
https://man.mtool.work/php/8.3/eventbufferevent.sslfilter.html
Event | PHP 8.3 7962
Event はじめに This is an extension to efficiently schedule I/O, time and signal based events using the best I/O notification mechanism available for specific platform. This is a port of libevent to the PHP infrastructure. 注意 : Note, Wind ... onstruct — The abstract constructor EventUtil::getLastSocketErrno — Returns the most recent socket error number EventUtil::getLastSocketError — Returns the most recent socket error EventUtil::getSocketFd — Returns numeric file descriptor of a socket, or stream Eve ...
https://man.mtool.work/php/8.3/book.event.html
関数・メソッド | PHP 8.3 7405
関数・メソッド マニュアル内の全関数およびメソッドの一覧 a b c d e f g h i j k l m n o p q r s t u v w x y z _ a abs - 絶対値 acos - 逆余弦(アークコサイン) acosh - 逆双曲線余弦(アークハイパボリックコサイン) addcslashes - C 言語と同様にス ... context for use with Event classes EventUtil::getLastSocketErrno - Returns the most recent socket error number EventUtil::getLastSocketError - Returns the most recent socket error EventUtil::getSocketFd - Returns numeric file descriptor of a socket, or stream Eve ...
https://man.mtool.work/php/8.3/indexes.functions.html
PREV 1 NEXT