diff options
author | Martin Lucina <mato@kotelna.sk> | 2010-06-03 14:36:44 +0200 |
---|---|---|
committer | Martin Lucina <mato@kotelna.sk> | 2010-06-03 14:36:44 +0200 |
commit | 7fc15c21a17cfa58e60e4a513360cb12b542a570 (patch) | |
tree | e78a02ab01a3c1b60195bcc2f7624119b6b155f7 | |
parent | 10f4bf3f35ab3da05fe5ca8a28cd131e3781249f (diff) |
Documentation: zmq_cpp(7) update for 2.0.7
-rw-r--r-- | doc/zmq_cpp.txt | 15 |
1 files changed, 11 insertions, 4 deletions
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]. @@ -75,6 +75,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); |