array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'zmqsocket.send.php', 1 => 'ZMQSocket::send', ), 'up' => array ( 0 => 'class.zmqsocket.php', 1 => 'ZMQSocket', ), 'prev' => array ( 0 => 'zmqsocket.recvmulti.php', 1 => 'ZMQSocket::recvMulti', ), 'next' => array ( 0 => 'zmqsocket.sendmulti.php', 1 => 'ZMQSocket::sendmulti', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/zmq/zmqsocket/send.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL zmq >= 0.5.0)
ZMQSocket::send — Sends a message
Send a message using the socket. The operation can block unless ZMQ::MODE_NOBLOCK
is used.
message
The message to send.
mode
Pass mode flags to receive multipart messages or non-blocking operation.
See ZMQ::MODE_*
constants.
Returns the current object. Throws ZMQSocketException on error.
If ZMQ::MODE_NOBLOCK
is used and the operation would
block bool false shall be returned.