summaryrefslogtreecommitdiff
path: root/doc/zmq_poll.txt
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2010-09-04 15:54:34 +0200
committerMartin Lucina <mato@kotelna.sk>2010-09-04 15:54:34 +0200
commit6c393f53e28f41118eed9a8d034d8d46f2555572 (patch)
treef869eafd4488265bb456752ac01bb276029a3732 /doc/zmq_poll.txt
parent6647e61243fdfbdc600ef3bfbd15b7c2ca6e853e (diff)
Revert "Further cleanups on reference manual"
This reverts commit 13f3481e127a6b2390e847af6b01ee88f1b4ae61. Conflicts: doc/zmq_device.txt doc/zmq_tcp.txt
Diffstat (limited to 'doc/zmq_poll.txt')
-rw-r--r--doc/zmq_poll.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/zmq_poll.txt b/doc/zmq_poll.txt
index 2648ad7..b077629 100644
--- a/doc/zmq_poll.txt
+++ b/doc/zmq_poll.txt
@@ -102,13 +102,13 @@ The provided 'items' was not valid (NULL).
EXAMPLE
-------
-.Polling indefinitely for input events on both a 0MQ socket and a TCP socket.
+.Polling indefinitely for input events on both a 0MQ socket and a standard socket.
----
zmq_pollitem_t items [2];
/* First item refers to 0MQ socket 'socket' */
items[0].socket = socket;
items[0].events = ZMQ_POLLIN;
-/* Second item refers to TCP socket 'fd' */
+/* Second item refers to standard socket 'fd' */
items[1].socket = NULL;
items[1].fd = fd;
items[1].events = ZMQ_POLLIN;