2010-02-10 16:18:46 +01:00
|
|
|
zmq_udp(7)
|
|
|
|
==========
|
2010-01-13 15:15:01 +01:00
|
|
|
|
2010-02-10 16:18:46 +01:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
zmq_udp - 0MQ reliable multicast transport using UDP
|
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2010-01-13 15:15:01 +01:00
|
|
|
UDP transport is exactly the same as PGM transport except that PGM packets
|
|
|
|
are encapsulated in UDP packets. Rationale for this transport is that user-space
|
|
|
|
implementation of PGM requires right to create raw sockets (PGM is located
|
2010-01-18 13:16:14 +01:00
|
|
|
directly on top of IP layer in the networking stack), which is often not
|
2010-01-13 15:15:01 +01:00
|
|
|
available. UDP encapsulation solves this problem, however, it adds some overhead
|
|
|
|
related to creating and transferring UDP packet headers.
|
|
|
|
|
|
|
|
|
2010-02-10 16:18:46 +01:00
|
|
|
CONNECTION STRING
|
|
|
|
-----------------
|
2010-01-18 13:16:14 +01:00
|
|
|
Connection string for UDP transport is "udp://" followed by an IP address
|
|
|
|
of the NIC to use, semicolon, IP address of the multicast group, colon and
|
|
|
|
port number. IP address of the NIC can be either its numeric representation
|
2010-01-13 15:15:01 +01:00
|
|
|
or the name of the NIC as reported by operating system. IP address of the
|
2010-01-18 13:16:14 +01:00
|
|
|
multicast group should be specified in the numeric representation. For example:
|
2010-01-13 15:15:01 +01:00
|
|
|
|
2010-02-10 16:18:46 +01:00
|
|
|
----
|
2010-01-22 11:38:17 +01:00
|
|
|
udp://eth0;224.0.0.1:5555
|
|
|
|
udp://lo;230.0.0.0:6666
|
|
|
|
udp://192.168.0.111;224.0.0.1:5555
|
2010-02-10 16:18:46 +01:00
|
|
|
----
|
2010-01-13 15:15:01 +01:00
|
|
|
|
2010-02-10 16:18:46 +01:00
|
|
|
NOTE: NIC names are not standardised by POSIX. They tend to be rather
|
2010-01-14 14:11:34 +01:00
|
|
|
arbitrary and platform dependent. Say, "eth0" on Linux would correspond to "en0"
|
|
|
|
on OSX and "e1000g" on Solaris. On Windows platform, as there are no short NIC
|
|
|
|
names available, you have to use numeric IP addresses instead.
|
|
|
|
|
2010-01-13 15:15:01 +01:00
|
|
|
|
2010-02-10 16:18:46 +01:00
|
|
|
WIRE FORMAT
|
|
|
|
-----------
|
2010-01-13 15:15:01 +01:00
|
|
|
Same as with PGM transport except for UDP packet headers.
|
|
|
|
|
|
|
|
|
2010-02-10 16:18:46 +01:00
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
linkzmq:zmq_pgm[7]
|
|
|
|
linkzmq:zmq_tcp[7]
|
|
|
|
linkzmq:zmq_ipc[7]
|
|
|
|
linkzmq:zmq_inproc[7]
|
|
|
|
|
2010-01-13 15:15:01 +01:00
|
|
|
|
2010-02-10 16:18:46 +01:00
|
|
|
AUTHOR
|
|
|
|
------
|
2009-12-04 10:06:46 +01:00
|
|
|
Martin Sustrik <sustrik at 250bpm dot com>
|
2009-12-03 12:58:16 +01:00
|
|
|
|