|
ZMQSocket::recvReceives a message Beschreibung
public string ZMQSocket::recv
([ integer
$mode = 0
] )
Receive a message from a socket. By default receiving will block until a message is available unless
Parameter-Liste
Beispiele
Beispiel #1 A send/recv example Non-blocking send / receive
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: Sending message - Unable to execute operation, retrying (4) Got response: This is a message Rückgabewerte
Returns the message. Throws ZMQSocketException in error.
If |