Results of 1 - 10 of about 16 for EventUtil (0.001 sec.)
- The EventUtil class | PHP 8.3 13880
- 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 ;
... xed $socket , int $level , int $optname , mixed $optval ): bool public static function sslRandPoll (): void } 定義済み定数 EventUtil::AF_INET IPv4 address family EventUtil::AF_INET6 IPv6 address family EventUtil::AF_UNSPEC Unspecified IP address family Ev ... gging. Only allowed for processes with the CAP_NET_ADMIN capability or an effective user ID of 0 . (Added in event-1.6.0.) EventUtil::SO_REUSEADDR Socket option. Indicates that the rules used in validating addresses supplied in a bind(2) call should allow ... reuse of local addresses. See the socket(7) manual page. (Added in event-1.6.0.) EventUtil::SO_KEEPALIVE Socket option. Enable sending of keep-alive messages on connection-oriented sockets. Expects an integer bool ...
-
https://man.mtool.work/php/8.3/class.eventutil.html
- EventUtil::setSocketOption — Sets socket options | PHP 8.3 10414
- EventUtil::setSocketOption (PECL event >= 1.6.0) EventUtil::setSocketOption — Sets socket options 説明 public static function EventUtil::setSocketOption ( mixed $socket , int $level , int $optname , mixed $optval ): bool Sets socket options
... . パラメータ socket Socket resource, stream, or numeric file descriptor associated with the socket. level One of EventUtil::SOL_* constants. Specifies the protocol level at which the option resides. For example, to retrieve options at the socket ... level, a level parameter of EventUtil::SOL_SOCKET would be used. Other levels, such as TCP, can be used by specifying the protocol number of that level. Protoco ... l numbers can be found by using the getprotobyname() function. See EventUtil constants . optname Option name(type). Has the same meaning as corresponding parameter of socket_get_option() function. Se ...
-
https://man.mtool.work/php/8.3/eventutil.setsocketoption.html
- EventUtil::__construct — The abstract constructor | PHP 8.3 9582
- EventUtil::__construct (PECL event >= 1.2.6-beta) EventUtil::__construct — The abstract constructor 説明 abstract public function EventUtil::__construct () EventUtil is a singleton. Therefore the constructor is abstract, and it is impossibl
...
-
https://man.mtool.work/php/8.3/eventutil.construct.html
- EventUtil::getLastSocketError — Returns the most recent socket error | PHP 8.3 9340
- 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
... ラメータ socket 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 ...
-
https://man.mtool.work/php/8.3/eventutil.getlastsocketerror.html
- EventUtil::getLastSocketErrno — Returns the most recent socket error number | P... 9288
- 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
... ocket resource, 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 accept ...
-
https://man.mtool.work/php/8.3/eventutil.getlastsocketerrno.html
- EventUtil::getSocketFd — Returns numeric file descriptor of a socket, or stream... 9097
- EventUtil::getSocketFd (PECL event >= 1.7.0) EventUtil::getSocketFd — Returns numeric file descriptor of a socket, or stream 説明 public static function EventUtil::getSocketFd ( mixed $socket ): int Returns numeric file descriptor of a sock
... rce or stream. パラメータ socket Socket resource or stream. 戻り値 Returns numeric file descriptor of a socket, or stream. EventUtil::getSocketFd() returns false in case if it is whether failed to recognize the type of the underlying file, or detected tha ...
-
https://man.mtool.work/php/8.3/eventutil.getsocketfd.html
- EventBufferEvent::connectHost — Connects to a hostname with optionally asynchro... 8802
- EventBufferEvent::connectHost (PECL event >= 1.2.6-beta) EventBufferEvent::connectHost — Connects to a hostname with optionally asynchronous DNS resolving 説明 public function EventBufferEvent::connectHost ( EventDnsBase $dns_base , string
... $hostname , int $port , int $family = EventUtil::AF_UNSPEC ): bool Resolves the DNS name hostname, looking for addresses of type family ( EventUtil::AF_* constants). If t ... ample.com (hostname) 1.2.3.4 (ipv4address) ::1 (ipv6address) [::1] ([ipv6address]) port Port number family Address family. EventUtil::AF_UNSPEC , EventUtil::AF_INET , or EventUtil::AF_INET6 . See EventUtil constants . 戻り値 成功した場合に true を、失敗し ... \r\n" )) { exit( "Failed adding request to output buffer\n" ); } if (! $bev -> connectHost ( $dns_base , $argv [ 1 ], 80 , EventUtil :: AF_UNSPEC )) { exit( "Can't connect to host { $argv [ 1 ]} \n" ); } $base -> dispatch (); ?> 上の例の出力は、 たとえば以 ...
-
https://man.mtool.work/php/8.3/eventbufferevent.connecthost.html
- Event | PHP 8.3 8664
- 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
... ontext — The EventSslContext class EventSslContext::__construct — Constructs an OpenSSL context for use with Event classes EventUtil — The EventUtil class EventUtil::__construct — The abstract constructor EventUtil::getLastSocketErrno — Returns the most r ... ecent socket error number EventUtil::getLastSocketError — Returns the most recent socket error EventUtil::getSocketFd — Returns numeric file descriptor of a s ... ocket, or stream EventUtil::getSocketName — Retrieves the current address to which the socket is bound EventUtil::setSocketOption — Sets socket optio ...
-
https://man.mtool.work/php/8.3/book.event.html
- EventUtil::sslRandPoll — Generates entropy by means of OpenSSL's RAND_poll() | ... 8612
- EventUtil::sslRandPoll (PECL event >= 1.2.6-beta) EventUtil::sslRandPoll — Generates entropy by means of OpenSSL's RAND_poll() 説明 public static function EventUtil::sslRandPoll (): void Generates entropy by means of OpenSSL's RAND_poll() (
...
-
https://man.mtool.work/php/8.3/eventutil.sslrandpoll.html
- EventUtil::getSocketName — Retrieves the current address to which the socket is... 8317
- EventUtil::getSocketName (PECL event >= 1.5.0) EventUtil::getSocketName — Retrieves the current address to which the socket is bound 説明 public static function EventUtil::getSocketName ( mixed $socket , string &$address , mixed &$port = ?
...
-
https://man.mtool.work/php/8.3/eventutil.getsocketname.html