.. _extensions-extzmq:
.. _ext-0mq:
ext/0mq
+++++++
Extension ext/zmq for ``0mq``.
``ØMQ is a software library that lets you quickly design and implement a fast message-based application.``
.. code-block:: php
*/
$context = new ZMQContext();
// Socket facing clients
$frontend = $context->getSocket(ZMQ::SOCKET_ROUTER);
$frontend->bind("tcp://*:5559");
// Socket facing services
$backend = $context->getSocket(ZMQ::SOCKET_DEALER);
$backend->bind("tcp://*:5560");
// Start built-in device
new ZMQDevice($frontend, $backend);
?>
See also `ZeroMQ `_ and `ZMQ `_.
Specs
_____
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Short name | Extensions/Extzmq |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Rulesets | :ref:`All `, :ref:`Appinfo `, :ref:`CE `, :ref:`Changed Behavior ` |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Exakat since | 0.8.4 |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| PHP Version | All |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Severity | |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Time To Fix | |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Precision | Very high |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Available in | `Entreprise Edition `_, `Community Edition `_, `Exakat Cloud `_ |
+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+