summaryrefslogtreecommitdiff
path: root/doc/zmq_poll.txt
diff options
context:
space:
mode:
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 92c5efe..9761881 100644
--- a/doc/zmq_poll.txt
+++ b/doc/zmq_poll.txt
@@ -100,13 +100,13 @@ associated 0MQ 'context' was terminated.
EXAMPLE
-------
-.Polling indefinitely for input events on both a 0MQ socket and a standard socket.
+.Polling indefinitely for input events on both a 0MQ socket and a TCP 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 standard socket 'fd' */
+/* Second item refers to TCP socket 'fd' */
items[1].socket = NULL;
items[1].fd = fd;
items[1].events = ZMQ_POLLIN;