« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 9 of about 9 for getLastSocketErrno (0.005 sec.)
EventUtil::getLastSocketErrno — Returns the most recent socket error number | P... 13786
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 ...
https://man.mtool.work/php/8.3/eventutil.getlastsocketerrno.html
EventUtil::getLastSocketError — Returns the most recent socket error | PHP 8.3 9347
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 ... ket Socket resource, stream or a file descriptor of a socket. 戻り値 Returns the most recent socket error. 参考 EventUtil::getLastSocketErrno() - Returns the most recent socket error number 他のマニュアルの関連ページ Linux JM accept(2) Linux JM accept4(2) Linux JM ...
https://man.mtool.work/php/8.3/eventutil.getlastsocketerror.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 ; ... PROTO_IP = 0 ; const int IPPROTO_IPV6 = 41 ; /* メソッド */ abstract public function __construct () public static function getLastSocketErrno ( mixed $socket = null ): int public static function getLastSocketError ( mixed $socket = ? ): string public static functi ... when Event extension had been compiled with the library. 目次 EventUtil::__construct — The abstract constructor EventUtil::getLastSocketErrno — Returns the most recent socket error number EventUtil::getLastSocketError — Returns the most recent socket error EventUt ...
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 ... { $base = $this -> base ; fprintf ( 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 ... _cb ( $listener , $ctx ) { fprintf ( 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 EventSs ... { $base = $this -> base ; fprintf ( 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 provide ...
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 ... { $base = $this -> base ; fprintf ( 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 ...
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 ... Event::ERROR An error occurred during a bufferevent operation. For more information on what the error was, call EventUtil::getLastSocketErrno() and/or EventUtil::getLastSocketError() . EventBufferEvent::TIMEOUT EventBufferEvent::CONNECTED Finished a requested conn ...
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 ... ( $id , '220 ' . $this -> domainName . " wazzzap?\r\n" ); } function ev_error ( $listener , $ctx ) { $errno = EventUtil :: getLastSocketErrno (); fprintf ( STDERR , "Got an error %d (%s) on the listener. Shutting down.\n" , $errno , EventUtil :: getLastSocketError ...
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 ... xt for use with Event classes EventUtil — The EventUtil class EventUtil::__construct — The abstract constructor EventUtil::getLastSocketErrno — Returns the most recent socket error number EventUtil::getLastSocketError — Returns the most recent socket error EventUt ...
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 言語と同様にス ... ated with an event base EventSslContext::__construct - Constructs an OpenSSL context for use with Event classes EventUtil::getLastSocketErrno - Returns the most recent socket error number EventUtil::getLastSocketError - Returns the most recent socket error EventUt ...
https://man.mtool.work/php/8.3/indexes.functions.html
PREV 1 NEXT