From f9f25ccc2b4a365edc00d922a2aa056cca7fe861 Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Thu, 16 Feb 2012 10:03:02 +0900 Subject: Allow to set up a source address for outgoing connections in zmq_connect() Signed-off-by: Sergey Matveychuk Signed-off-by: Martin Sustrik --- doc/xs_tcp.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/xs_tcp.txt b/doc/xs_tcp.txt index 5d5cbca..b97be08 100644 --- a/doc/xs_tcp.txt +++ b/doc/xs_tcp.txt @@ -17,9 +17,10 @@ be your first choice. ADDRESSING ---------- A Crossroads address string consists of two parts as follows: -'transport'`://`'endpoint'. The 'transport' part specifies the underlying -transport protocol to use, and for the TCP transport shall be set to `tcp`. -The meaning of the 'endpoint' part for the TCP transport is defined below. +'transport'`://[`'source address'`;]`'endpoint'. The 'transport' part specifies +the underlying transport protocol to use, and for the TCP transport shall be +set to `tcp`. 'source address' is optional. The meaning of the 'endpoint' part +for the TCP transport is defined below. Assigning a local address to a socket -- cgit v1.2.3