table of contents
other versions
- wheezy-backports 3.2.3+dfsg-2~bpo70+1
- jessie 4.0.5+dfsg-2+deb8u1
- testing 4.2.1-4
- unstable 4.2.1-4
| ZMQ(7) | 0MQ Manual | ZMQ(7) |
NAME¶
zmq - 0MQ lightweight messaging kernelSYNOPSIS¶
#include <zmq.h>DESCRIPTION¶
The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products. 0MQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering ( subscriptions), seamless access to multiple transport protocols and more.Context¶
Before using any 0MQ library functions you must create a 0MQ context. When you exit your application you must destroy the context. These functions let you work with contexts: Create a new 0MQ context Work with context properties Destroy a 0MQ context Monitor a 0MQ contextMessages¶
A 0MQ message is a discrete unit of data passed between applications or components of the same application. 0MQ messages have no internal structure and from the point of view of 0MQ itself they are considered to be opaque binary data.Sockets¶
0MQ sockets present an abstraction of a asynchronous message queue, with the exact queueing semantics depending on the socket type in use. See zmq_socket(3) for the socket types provided.Transports¶
A 0MQ socket can use multiple different underlying transport mechanisms. Each transport mechanism is suited to a particular purpose and has its own advantages and drawbacks.Proxies¶
0MQ provides proxies to create fanout and fan-in topologies. A proxy connects a frontend socket to a backend socket and switches all messages between the two sockets, opaquely. A proxy may optionally capture all traffic to a third socket. To start a proxy in an application thread, use zmq_proxy(3).ERROR HANDLING¶
The 0MQ library functions handle errors using the standard conventions found on POSIX systems. Generally, this means that upon failure a 0MQ library function shall return either a NULL value (if returning a pointer) or a negative value (if returning an integer), and the actual error code shall be stored in the errno variable.MISCELLANEOUS¶
The following miscellaneous functions are provided: Report 0MQ library versionLANGUAGE BINDINGS¶
The 0MQ library provides interfaces suitable for calling from programs in any language; this documentation documents those interfaces as they would be used by C programmers. The intent is that programmers using 0MQ from other languages shall refer to this documentation alongside any documentation provided by the vendor of their language binding.AUTHORS¶
This 0MQ manual page was written by Martin Sustrik < sustrik@250bpm.com[1]>, Martin Lucina < martin@lucina.net[2]>, and Pieter Hintjens < ph@imatix.com[3]>.RESOURCES¶
Main web site: http://www.zeromq.org/COPYING¶
Free use of this software is granted under the terms of the GNU Lesser General Public License (LGPL). For details see the files COPYING and COPYING.LESSER included with the 0MQ distribution.NOTES¶
- 1.
- sustrik@250bpm.com
mailto:sustrik@250bpm.com
- 2.
- martin@lucina.net
mailto:martin@lucina.net
- 3.
- ph@imatix.com
mailto:ph@imatix.com
- 4.
- zeromq-dev@lists.zeromq.org
mailto:zeromq-dev@lists.zeromq.org
| 05/02/2013 | 0MQ 3.2.2 |