summaryrefslogtreecommitdiff
path: root/man/man3/zmq_bind.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/zmq_bind.3')
-rw-r--r--man/man3/zmq_bind.312
1 files changed, 8 insertions, 4 deletions
diff --git a/man/man3/zmq_bind.3 b/man/man3/zmq_bind.3
index c4d955e..b8f2102 100644
--- a/man/man3/zmq_bind.3
+++ b/man/man3/zmq_bind.3
@@ -5,16 +5,20 @@ zmq_bind \- binds the socket to the specified address
.B int zmq_bind (void *s, const char *addr);
.SH DESCRIPTION
The function binds socket
-.IR s to a particular transport. Actual semantics of the
+.IR s
+to a particular transport. Actual semantics of the
command depend on the underlying transport mechanism, however, in cases where
peers connect in an asymetric manner,
.IR zmq_bind
should be called first,
.IR zmq_connect
-afterwards. For actual formats of
+afterwards. Actual formats of
.IR addr
-parameter for different types of transport have a look at
-.IR zmq(7) .
+parameter are defined by individual transports. For a list of supported
+transports have a look at
+.IR zmq(7)
+manual page.
+
Note that single socket can be bound (and connected) to
arbitrary number of peers using different transport mechanisms.
.SH RETURN VALUE