From 2ab12efe11411d0f05b08fa8eb54ff9c5b16a9a0 Mon Sep 17 00:00:00 2001 From: Pieter Hintjens Date: Mon, 28 May 2012 11:01:18 +0200 Subject: [PATCH] Fixing issue #361 --- doc/zmq_poll.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/zmq_poll.txt b/doc/zmq_poll.txt index 7daa16b4..fc6d3004 100644 --- a/doc/zmq_poll.txt +++ b/doc/zmq_poll.txt @@ -73,6 +73,9 @@ NOTE: The _zmq_poll()_ function may be implemented or emulated using operating system interfaces other than _poll()_, and as such may be subject to the limits of those interfaces in ways not defined in this documentation. +NOTE: The _zmq_send()_ function will clear all pending events on a socket. Thus, +if you use _zmq_poll()_ to monitor input on a socket, use it before output as +well, and process all events after each _zmq_poll()_ call. RETURN VALUE ------------