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