« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 6 of about 6 for linger (0.002 sec.)
socket_get_option — ソケットのオプションを取得する | PHP 8.3 12795
socket_get_option (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) socket_get_option — ソケットのオプションを取得する 説明 function socket_get_option ( Socket $socket , int $level , int $option ): array | int | false socket_get_option() 関数は、ソケッ ... れらのメッセージに応答できなかった場合、 接続は崩壊し、ソケットへの書き込みを行うと SIGPIPE シグナルを受け取ります。 int SO_LINGER データがまだ残っているうちに socket_close() をコールした場合に、 socket を残存させるかどうかを報告します。 デフォルトでは、 ... とします。 接続ベースのソケットでは、 socket_close() は接続先がデータを認識するまで閉じるのを待ちます。 l_onoff が非ゼロで l_linger がゼロの場合は、 その時点で未送信のデータはすべて破棄されます。 接続ベースのソケットの場合、接続先には RST (リセット) を送 ... 信します。 一方 l_onoff が非ゼロで l_linger も非ゼロの場合は、 socket_close() は 全データを送信し終えるか l_linger で指定した時間が経過するまで処理をブロックします。 ...
https://man.mtool.work/php/8.3/function.socket-get-option.html
The EventUtil class | PHP 8.3 9742
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 ; ... nst int SO_DEBUG = 1 ; const int SO_REUSEADDR = 2 ; const int SO_KEEPALIVE = 9 ; const int SO_DONTROUTE = 5 ; const int SO_LINGER = 13 ; const int SO_BROADCAST = 6 ; const int SO_OOBINLINE = 10 ; const int SO_SNDBUF = 7 ; const int SO_RCVBUF = 8 ; cons ... event-1.6.0.) EventUtil::SO_DONTROUTE Socket option. See the socket(7) manual page. (Added in event-1.6.0.) EventUtil::SO_LINGER Socket option. When enabled, a close(2) or shutdown(2) will not return until all queued messages for the socket have been ... successfully sent or the linger timeout has been reached. Otherwise, the call returns immediately and the closing is done in the background. See the socke ...
https://man.mtool.work/php/8.3/class.eventutil.html
The ZMQ class | PHP 8.3 8975
The ZMQ class (PECL zmq >= 0.5.0) はじめに クラス概要 class ZMQ { /* 定数 */ const int SOCKET_PAIR ; const int SOCKET_PUB ; const int SOCKET_SUB ; const int SOCKET_REQ ; const int SOCKET_REP ; const int SOCKET_XREQ ; const int SOCKET_XREP ; ... nst int SOCKOPT_SNDBUF ; const int SOCKOPT_RCVBUF ; const int SOCKOPT_RCVMORE ; const int SOCKOPT_TYPE ; const int SOCKOPT_LINGER ; const int SOCKOPT_BACKLOG ; const int SOCKOPT_MAXMSGSIZE ; const int SOCKOPT_SNDTIMEO ; const int SOCKOPT_RCVTIMEO ; con ... e multi-part messages (Value: int ) ZMQ::SOCKOPT_TYPE Get the socket type. Valid for getSockOpt (Value: int ) ZMQ::SOCKOPT_LINGER The linger value of the socket. Specifies how long the socket blocks trying flush messages after it has been closed (Value ...
https://man.mtool.work/php/8.3/class.zmq.html
New Features | PHP 8.3 8390
New Features PHP Core Default values for readonly properties Readonly properties may now declare default values. <?php class Config { public readonly int $timeout = 30 ; } $config = new Config (); var_dump ( $config -> timeout ); // int(30) ... p_keepidle , tcp_keepintvl and tcp_keepcnt that allow setting socket keepalive options. Added the socket context option so_linger that sets SO_LINGER on TCP sockets. A positive value enables lingering for that many seconds, zero or a negative value dis ... ables it. Values above 65535 are clamped as the linger time is limited to an unsigned short on some platforms. Added the socket context options so_rcvbuf and so_sndbuf that set ...
https://man.mtool.work/php/8.3/migration86.new-features.html
定義済み定数 | PHP 8.3 7640
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 AF_UNIX ( int ) Unixドメイン中のファイルシステムパス名を示す、 ソケットアドレ ... BSD はこのソケットオプションに対応していますが、 Windows は対応していません。 SO_KEEPALIVE ( int ) SO_DONTROUTE ( int ) SO_LINGER ( int ) SO_BROADCAST ( int ) SO_OOBINLINE ( int ) SO_SNDBUF ( int ) SO_RCVBUF ( int ) SO_SNDLOWAT ( int ) SO_RCVLOWAT ( in ... NOSIGPIPE ( int ) ソケットが SIGPIPE を生成するかどうかを制御します。 PHP 8.4.0 以降で利用可能(macOS と FreeBSD のみ)。 SO_LINGER_SEC ( int ) SO_LINGER に似ていますが、 macOs の time clicks とは対照的に、秒単位で設定します。 PHP 8.4.0 以降で利用可能(ma ...
https://man.mtool.work/php/8.3/sockets.constants.html
新しいグローバル定数 | PHP 8.3 7256
新しいグローバル定数 PHP コア PHP_OUTPUT_HANDLER_PROCESSED PHP_SBINDIR cURL CURL_HTTP_VERSION_3 CURL_HTTP_VERSION_3ONLY CURLOPT_TCP_KEEPCNT CURLOPT_PREREQFUNCTION CURL_PREREQFUNC_OK CURL_PREREQFUNC_ABORT CURLOPT_SERVER_RESPONSE_TIMEOUT CURL ... のみ) SOCK_DCCP (NetBSDのみ) TCP_SYNCNT (Linuxのみ) SO_EXCLBIND (Solaris/Illumosのみ) SO_NOSIGPIPE (macOSおよびFreeBSD) SO_LINGER_SEC (macOSのみ) IP_PORTRANGE (FreeBSD/NetBSD/OpenBSDのみ) IP_PORTRANGE_DEFAULT (FreeBSD/NetBSD/OpenBSDのみ) IP_PORTRANGE_H ...
https://man.mtool.work/php/8.3/migration84.constants.html
PREV 1 NEXT