|
ZMQSocket::recvReceives a message 説明public string ZMQSocket::recv(int
$mode = 0)
Receive a message from a socket. By default receiving will block until a message is available unless
パラメータ
戻り値
Returns the message. If エラー / 例外Throws ZMQSocketException on error. 例
例1 A send/recv example Non-blocking send / receive
<?php 上の例の出力は、 たとえば以下のようになります。 Sending message - Unable to execute operation, retrying (4) Got response: This is a message |