|
ZMQSocket::recvReceives a message Descriptionpublic string ZMQSocket::recv(int
$mode = 0)
Receive a message from a socket. By default receiving will block until a message is available unless
Parameters
Return Values
Returns the message. If Errors/ExceptionsThrows ZMQSocketException on error. Examples
Example #1 A send/recv example Non-blocking send / receive
The above example will output something similar to: Sending message - Unable to execute operation, retrying (4) Got response: This is a message |