diff options
author | Martin Lucina <mato@kotelna.sk> | 2010-03-25 17:31:18 +0100 |
---|---|---|
committer | Martin Lucina <mato@kotelna.sk> | 2010-03-25 17:31:18 +0100 |
commit | 783463ac49aeb2d1be57dc9b3669d508187415a8 (patch) | |
tree | 6a4529485501346b1a1e3a0cd7baaae3e622374d /doc | |
parent | c802a72a0b4aae06cd65158af3c65e65e0dfc2e0 (diff) |
Clarify use of poll() with C++ API, fix typo
Diffstat (limited to 'doc')
-rw-r--r-- | doc/zmq_cpp.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/zmq_cpp.txt b/doc/zmq_cpp.txt index 19467d9..c12c834 100644 --- a/doc/zmq_cpp.txt +++ b/doc/zmq_cpp.txt @@ -117,7 +117,7 @@ Constructor These map to the _zmq_msg_init()_, _zmq_msg_init_size()_ and _zmq_msg_init_data()_ functions, described in linkzmq:zmq_msg_init[3], -linkzmq:zmq_msg_init_size[3] and linkzmq_msg_init_data[3] respectively. +linkzmq:zmq_msg_init_size[3] and linkzmq:zmq_msg_init_data[3] respectively. Destructor @@ -164,6 +164,9 @@ Input/output multiplexing The _poll()_ function is a namespaced equivalent of the _zmq_poll()_ function, as described in linkzmq:zmq_poll[3]. +NOTE: To obtain a 0MQ _socket_ for use in a _zmq_pollitem_t_ structure, you +should cast an instance of the _socket_t_ class to `(void *)`. + ERROR HANDLING -------------- |