summaryrefslogtreecommitdiff
path: root/doc/zmq_bind.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/zmq_bind.txt')
-rw-r--r--doc/zmq_bind.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/zmq_bind.txt b/doc/zmq_bind.txt
index 5eb1bcf..7aa5a0b 100644
--- a/doc/zmq_bind.txt
+++ b/doc/zmq_bind.txt
@@ -24,15 +24,10 @@ the underlying transport protocol selected.
The following transports are defined:
-'inproc'::
- local in-process (inter-thread) communication transport, see
- linkzmq:zmq_inproc[7]
-'ipc'::
- local inter-process communication transport, see linkzmq:zmq_ipc[7]
-'tcp'::
- unicast transport using TCP, see linkzmq:zmq_tcp[7]
-'pgm', 'epgm'::
- reliable multicast transport using PGM, see linkzmq:zmq_pgm[7]
+'inproc':: local in-process (inter-thread) communication transport, see linkzmq:zmq_inproc[7]
+'ipc':: local inter-process communication transport, see linkzmq:zmq_ipc[7]
+'tcp':: unicast transport using TCP, see linkzmq:zmq_tcp[7]
+'pgm', 'epgm':: reliable multicast transport using PGM, see linkzmq:zmq_pgm[7]
With the exception of 'ZMQ_PAIR' sockets, a single socket may be connected to
multiple endpoints using _zmq_connect()_, while simultaneously accepting
@@ -75,8 +70,8 @@ assert (socket);
/* Bind it to a in-process transport with the address 'my_publisher' */
int rc = zmq_bind (socket, "inproc://my_publisher");
assert (rc == 0);
-/* Bind it to a TCP transport on port 5555 of all local interfaces */
-rc = zmq_bind (socket, "tcp://*:5555");
+/* Bind it to a TCP transport on port 5555 of the 'eth0' interface */
+rc = zmq_bind (socket, "tcp://eth0:5555");
assert (rc == 0);
----
@@ -87,3 +82,8 @@ linkzmq:zmq_connect[3]
linkzmq:zmq_socket[3]
linkzmq:zmq[7]
+
+AUTHORS
+-------
+The 0MQ documentation was written by Martin Sustrik <sustrik@250bpm.com> and
+Martin Lucina <mato@kotelna.sk>.