# ZMQ

# Introduction

Warning

This extension is EXPERIMENTAL. The behaviour of this extension including the names of its functions and any other documentation surrounding this extension may change without notice in a future release of PHP. This extension should be used at your own risk.

"ØMQ is a software library that lets you quickly design and implement a fast message-based application." --0MQ Website

For more information about 0MQ, see » http://zeromq.org/.

- Installing/Configuring
  - Requirements
  - Installation
- ZMQ — The ZMQ class
  - ZMQ::__construct — ZMQ constructor
- ZMQContext — The ZMQContext class
  - ZMQContext::__construct — Construct a new ZMQContext object
  - ZMQContext::getOpt — Get context option
  - ZMQContext::getSocket — Create a new socket
  - ZMQContext::isPersistent — Whether the context is persistent
  - ZMQContext::setOpt — Set a socket option
- ZMQSocket — The ZMQSocket class
  - 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
- ZMQPoll — The ZMQPoll class
  - ZMQPoll::add — Add item to the poll set
  - ZMQPoll::clear — Clear the poll set
  - ZMQPoll::count — Count items in the poll set
  - ZMQPoll::getLastErrors — Get poll errors
  - ZMQPoll::poll — Poll the items
  - ZMQPoll::remove — Remove item from poll set
- ZMQDevice — The ZMQDevice class
  - ZMQDevice::__construct — Construct a new device
  - ZMQDevice::getIdleTimeout — Get the idle timeout
  - ZMQDevice::getTimerTimeout — Get the timer timeout
  - ZMQDevice::run — Run the new device
  - ZMQDevice::setIdleCallback — Set the idle callback function
  - ZMQDevice::setIdleTimeout — Set the idle timeout
  - ZMQDevice::setTimerCallback — Set the timer callback function
  - ZMQDevice::setTimerTimeout — Set the timer timeout

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open