ZMQSocket::sendmulti
(PECL zmq >= 0.8.0)
ZMQSocket::sendmulti — Sends a multipart message
Description
Send a multipart message using the socket. The operation can block unless ZMQ::MODE_NOBLOCK
is used.
Parameters
-
message
-
The message to send - an array of strings
-
mode
-
Pass mode flags to receive multipart messages or non-blocking operation. See
ZMQ::MODE_*
constants.
Return Values
Returns the current object. Throws ZMQSocketException on error.
If ZMQ::MODE_NOBLOCK
is used and the operation would
block boolean false shall be returned.
- Функция ZMQSocket::bind() - Bind the socket
- Функция ZMQSocket::connect() - Connect the socket
- Функция ZMQSocket::__construct() - Construct a new ZMQSocket
- Функция ZMQSocket::disconnect() - Disconnect a socket
- Функция ZMQSocket::getEndpoints() - Get list of endpoints
- Функция ZMQSocket::getPersistentId() - Get the persistent id
- Функция ZMQSocket::getSocketType() - Get the socket type
- Функция ZMQSocket::getSockOpt() - Get socket option
- Функция ZMQSocket::isPersistent() - Whether the socket is persistent
- Функция ZMQSocket::recv() - Receives a message
- Функция ZMQSocket::recvMulti() - Receives a multipart message
- Функция ZMQSocket::send() - Sends a message
- Функция ZMQSocket::sendmulti() - Sends a multipart message
- Функция ZMQSocket::setSockOpt() - Set a socket option
- Функция ZMQSocket::unbind() - Unbind the socket
Коментарии
404 Not Found