Results of 1 - 10 of about 24 for ZMQSocket (0.001 sec.)
- The ZMQSocket class | PHP 8.3 13811
- The ZMQSocket class (PECL zmq >= 0.5.0) はじめに クラス概要 class ZMQSocket { /* メソッド */ public function bind ( string $dsn , bool $force = false ): ZMQSocket public function connect ( string $dsn , bool $force = false ): ZMQSocket publ
... , int $type , string $persistent_id = null , callable $on_new_socket = null ) public function disconnect ( string $dsn ): ZMQSocket public function getEndpoints (): array public function getPersistentId (): string public function getSocketType (): int pu ... = 0 ): string public function recvMulti ( int $mode = 0 ): array public function send ( string $message , int $mode = 0 ): ZMQSocket public function sendmulti ( array $message , int $mode = 0 ): ZMQSocket public function setSockOpt ( int $key , mixed $val ... ue ): ZMQSocket public function unbind ( string $dsn ): ZMQSocket } 目次 ZMQSocket::bind — Bind the socket ZMQSocket::connect — Connect th ...
-
https://man.mtool.work/php/8.3/class.zmqsocket.html
- ZMQ | PHP 8.3 12426
- ZMQ はじめに 警告 この拡張モジュールは、 実験的 なものです。この拡張モジュールの動作・ 関数名・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 このモジュールは自己責任で使用してく
... her the context is persistent ZMQContext::setOpt — Set a socket option ZMQContextException — The ZMQContextException class ZMQSocket — The ZMQSocket class ZMQSocket::bind — Bind the socket ZMQSocket::connect — Connect the socket ZMQSocket::__construct — C ... onstruct a new ZMQSocket ZMQSocket::disconnect — Disconnect a socket ZMQSocket::getEndpoints — Get list of endpoints ZMQSocket::getPersistentId — G ... et the persistent id ZMQSocket::getSocketType — Get the socket type ZMQSocket::getSockOpt — Get socket option ZMQSocket::isPersistent — Whether the socke ...
-
https://man.mtool.work/php/8.3/book.zmq.html
- ZMQSocket::__construct — Construct a new ZMQSocket | PHP 8.3 9741
- ZMQSocket::__construct (PECL zmq >= 0.5.0) ZMQSocket::__construct — Construct a new ZMQSocket 説明 public function ZMQSocket::__construct ( ZMQContext $context , int $type , string $persistent_id = null , callable $on_new_socket = null ) Co
... nstructs a ZMQSocket object. persistent_id parameter can be used to allocated a persistent socket. A persistent socket has to be allocated from ... ure is created. This function does not get invoked if the underlying persistent connection is re-used. function callback ( ZMQSocket $socket , string $persistent_id = null ) エラー / 例外 Throws ZMQSocketException on error. 例 例1 A ZMQSocket() example Us ... he socket is persistent so this function is called only on the first request to the script. */ function on_new_socket_cb ( ZMQSocket $socket , $persistent_id = null ) { if ( $persistent_id === 'server' ) { $socket -> bind ( "tcp://localhost:12122" ); } el ...
-
https://man.mtool.work/php/8.3/zmqsocket.construct.html
- ZMQSocket::setSockOpt — Set a socket option | PHP 8.3 8707
- ZMQSocket::setSockOpt (PECL zmq >= 0.5.0) ZMQSocket::setSockOpt — Set a socket option 説明 public function ZMQSocket::setSockOpt ( int $key , mixed $value ): ZMQSocket Sets a ZMQ socket option. The type of the value depends on the key . See
... メータ key One of the ZMQ::SOCKOPT_ * constants. value The value of the parameter. 戻り値 Returns the current object. Throws ZMQSocketException on error. 他のマニュアルの関連ページ Linux JM setsockopt(2) Linux JM unix(7) ...
-
https://man.mtool.work/php/8.3/zmqsocket.setsockopt.html
- ZMQSocket::disconnect — Disconnect a socket | PHP 8.3 8657
- ZMQSocket::disconnect (PECL zmq >= 1.0.4) ZMQSocket::disconnect — Disconnect a socket 説明 public function ZMQSocket::disconnect ( string $dsn ): ZMQSocket Disconnect the socket from a previously connected remote endpoint. The endpoint is d
... , pgm or epgm. パラメータ dsn The connect dsn, for example transport://address . 戻り値 Returns the current object. Throws ZMQSocketException on error. 他のマニュアルの関連ページ Python asyncio-llapi-index Docker docker network disconnect Linux JM connect ...
-
https://man.mtool.work/php/8.3/zmqsocket.disconnect.html
- ZMQSocket::unbind — Unbind the socket | PHP 8.3 8657
- ZMQSocket::unbind (PECL zmq >= 1.0.4) ZMQSocket::unbind — Unbind the socket 説明 public function ZMQSocket::unbind ( string $dsn ): ZMQSocket Unbind the socket from an endpoint. The endpoint is defined in format transport://address where tr
... epgm. パラメータ dsn The previously bound dsn, for example transport://address . 戻り値 Returns the current object. Throws ZMQSocketException on error. 他のマニュアルの関連ページ Python asyncio-llapi-index Linux JM socket(2) Python errno Python socketserv ...
-
https://man.mtool.work/php/8.3/zmqsocket.unbind.html
- ZMQSocket::bind — Bind the socket | PHP 8.3 8507
- ZMQSocket::bind (PECL zmq >= 0.5.0) ZMQSocket::bind — Bind the socket 説明 public function ZMQSocket::bind ( string $dsn , bool $force = false ): ZMQSocket Bind the socket to an endpoint. The endpoint is defined in format transport://addres
... e Tries to bind even if the socket has already been bound to the given endpoint. 戻り値 Returns the current object. Throws ZMQSocketException on error. 他のマニュアルの関連ページ Linux JM bind(2) Python socketserver Python asyncio-llapi-index Linux JM soc ...
-
https://man.mtool.work/php/8.3/zmqsocket.bind.html
- ZMQSocket::sendmulti — Sends a multipart message | PHP 8.3 8507
- ZMQSocket::sendmulti (PECL zmq >= 0.8.0) ZMQSocket::sendmulti — Sends a multipart message 説明 public function ZMQSocket::sendmulti ( array $message , int $mode = 0 ): ZMQSocket Send a multipart message using the socket. The operation can b
... eceive multipart messages or non-blocking operation. See ZMQ::MODE_ * constants. 戻り値 Returns the current object. Throws ZMQSocketException on error. If ZMQ::MODE_NOBLOCK is used and the operation would block bool false shall be returned. 他のマニュアル ...
-
https://man.mtool.work/php/8.3/zmqsocket.sendmulti.html
- ZMQSocket::connect — Connect the socket | PHP 8.3 8423
- ZMQSocket::connect (PECL zmq >= 0.5.0) ZMQSocket::connect — Connect the socket 説明 public function ZMQSocket::connect ( string $dsn , bool $force = false ): ZMQSocket Connect the socket to a remote endpoint. The endpoint is defined in form
... t even if the socket has already been connected to given endpoint. 戻り値 Returns the current object. エラー / 例外 Throws ZMQSocketException on error. 例 例1 A ZMQContext() example Construct a new context and allocate request socket from it <?php /* Serv ... er hostname */ $dsn = "tcp://127.0.0.1:5555" ; /* Create a socket */ $socket = new ZMQSocket (new ZMQContext (), ZMQ :: SOCKET_REQ , 'my socket' ); /* Get list of connected endpoints */ $endpoints = $socket -> getEn ...
-
https://man.mtool.work/php/8.3/zmqsocket.connect.html
- ZMQSocket::send — Sends a message | PHP 8.3 8423
- ZMQSocket::send (PECL zmq >= 0.5.0) ZMQSocket::send — Sends a message 説明 public function ZMQSocket::send ( string $message , int $mode = 0 ): ZMQSocket Send a message using the socket. The operation can block unless ZMQ::MODE_NOBLOCK is u
... eceive multipart messages or non-blocking operation. See ZMQ::MODE_ * constants. 戻り値 Returns the current object. Throws ZMQSocketException on error. If ZMQ::MODE_NOBLOCK is used and the operation would block bool false shall be returned. 他のマニュアル ...
-
https://man.mtool.work/php/8.3/zmqsocket.send.html