Note added to remind users that options should be set before
bind/connect to take effect.

P.S. I haven't submitted a patch before so please double check it is ok,
and let me know if there is any issues.


>From 6e729010ff7fbb1eb149e3dd7ea13ee492f9768c Mon Sep 17 00:00:00 2001
From: Michael Compton <michael@michael-laptop.(none)>
Date: Mon, 14 Feb 2011 00:01:38 +0000
Subject: [PATCH] Added note regarding setting sockopt before bind/connect


Signed-off-by: Michael Compton <michael@michael-laptop.(none)>
---
 doc/zmq_setsockopt.txt |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt
index c342850..3621d67 100644
--- a/doc/zmq_setsockopt.txt
+++ b/doc/zmq_setsockopt.txt
@@ -12,6 +12,7 @@ SYNOPSIS
 --------
 *int zmq_setsockopt (void '*socket', int 'option_name', const void '*option_value', size_t 'option_len');*
 
+Caution: All options, with the exception of subscription strings, take effect only for subsequent socket bind/connects
 
 DESCRIPTION
 -----------
-- 
1.7.0.4

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to