~ubuntu-branches/ubuntu/saucy/zeromq3/saucy

« back to all changes in this revision

Viewing changes to doc/zmq.txt

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2012-10-16 19:49:30 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20121016194930-98r0bi746eoaa4iv
Tags: 3.2.1~rc2+dfsg-1
* New upstream RC release (Closes: #690704)
* Bump Standards-Version to 3.9.4 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
    linkzmq:zmq_connect[3]
137
137
 
138
138
Sending and receiving messages::
 
139
    linkzmq:zmq_msg_send[3]
 
140
    linkzmq:zmq_msg_recv[3]
139
141
    linkzmq:zmq_send[3]
140
 
    linkzmq:zmq_sendmsg[3]
141
142
    linkzmq:zmq_recv[3]
142
 
    linkzmq:zmq_recvmsg[3]
143
143
 
144
144
.Input/output multiplexing
145
145
0MQ provides a mechanism for applications to multiplex input/output events over
169
169
    linkzmq:zmq_inproc[7]
170
170
 
171
171
 
172
 
Devices
 
172
Proxies
173
173
~~~~~~~
174
 
0MQ provides 'devices', which are building blocks that act as intermediate
175
 
nodes in complex messaging topologies. Devices can act as brokers that other
176
 
nodes connect to, proxies that connect through to other nodes, or any mix of
177
 
these two models.
178
 
 
179
 
You can start a device in an application thread, see linkzmq:zmq_device[3].
 
174
0MQ provides 'proxies' to create fanout and fan-in topologies. A proxy connects
 
175
a 'frontend' socket to a 'backend' socket and switches all messages between the
 
176
two sockets, opaquely. A proxy may optionally capture all traffic to a third
 
177
socket. To start a proxy in an application thread, use linkzmq:zmq_proxy[3].
180
178
 
181
179
 
182
180
ERROR HANDLING