PHP » GoLang |
login |
register |
about
|
GoLang ZMQSocket::recv
request it (370)
GoLang replacement for PHP's ZMQSocket::recv
[edit | history]
ZMQSocket::recv(PECL zmq >= 0.5.0) ZMQSocket::recv — Receives a message Description
public string ZMQSocket::recv
([ int
$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 |
more
Recently updated
more
Most requested
more
Last requests
|