From 7fc15c21a17cfa58e60e4a513360cb12b542a570 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Thu, 3 Jun 2010 14:36:44 +0200 Subject: Documentation: zmq_cpp(7) update for 2.0.7 --- doc/zmq_cpp.txt | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/zmq_cpp.txt b/doc/zmq_cpp.txt index c12c834..b7a5a42 100644 --- a/doc/zmq_cpp.txt +++ b/doc/zmq_cpp.txt @@ -34,7 +34,7 @@ initialisation and termination of a 0MQ _context_. Constructor ^^^^^^^^^^^ [verse] -*context_t::context_t(int 'app_threads', int 'io_threads', int 'flags' = 0)* +*context_t::context_t(int 'io_threads')* Maps to the _zmq_init()_ function, as described in linkzmq:zmq_init[3]. @@ -74,6 +74,13 @@ Calls the _zmq_close()_ function, as described in linkzmq:zmq_close[3]. Methods ^^^^^^^ +[verse] +*void socket_t::getsockopt(int 'option_name', void '*option_value', size_t +'*option_len')* + +Maps to the _zmq_getsockopt()_ function, as described in +linkzmq:zmq_getsockopt[3]. + [verse] *void socket_t::setsockopt(int 'option_name', const void '*option_value', size_t 'option_len')* @@ -82,12 +89,12 @@ Maps to the _zmq_setsockopt()_ function, as described in linkzmq:zmq_setsockopt[3]. [verse] -*void socket_t::bind(const char '*address')* +*void socket_t::bind(const char '*endpoint')* Maps to the _zmq_bind()_ function, as described in linkzmq:zmq_bind[3]. [verse] -*void socket_t::connect(const char '*address')* +*void socket_t::connect(const char '*endpoint')* Maps to the _zmq_connect()_ function, as described in linkzmq:zmq_connect[3]. @@ -179,7 +186,7 @@ function to convert the error code to human-readable string. EXAMPLE ------- ---- -zmq::context_t ctx (1, 1); +zmq::context_t ctx (1); zmq::socket_t s (ctx, ZMQ_PUB); s.connect ("tcp://192.168.0.115:5555"); zmq::message_t msg (100); -- cgit v1.2.3