zmq_udp.txt 1.57 KB
Newer Older
1 2
zmq_udp(7)
==========
3

4 5 6 7 8 9 10 11

NAME
----
zmq_udp - 0MQ reliable multicast transport using UDP


SYNOPSIS
--------
12 13 14
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
15
directly on top of IP layer in the networking stack), which is often not
16 17 18 19
available. UDP encapsulation solves this problem, however, it adds some overhead
related to creating and transferring UDP packet headers.


20 21
CONNECTION STRING
-----------------
22 23 24
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
25
or the name of the NIC as reported by operating system. IP address of the
26
multicast group should be specified in the numeric representation. For example:
27

28
----
29 30 31
    udp://eth0;224.0.0.1:5555
    udp://lo;230.0.0.0:6666
    udp://192.168.0.111;224.0.0.1:5555
32
----
33

34
NOTE: NIC names are not standardised by POSIX. They tend to be rather
35 36 37 38
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.

39

40 41
WIRE FORMAT
-----------
42 43 44
Same as with PGM transport except for UDP packet headers.


45 46 47 48 49 50 51
SEE ALSO
--------
linkzmq:zmq_pgm[7]
linkzmq:zmq_tcp[7]
linkzmq:zmq_ipc[7]
linkzmq:zmq_inproc[7]

52

53 54
AUTHOR
------
Martin Sustrik's avatar
Martin Sustrik committed
55
Martin Sustrik <sustrik at 250bpm dot com>
56