From d7923f08cab62ef40027a92f596ff45428870838 Mon Sep 17 00:00:00 2001 From: Fabien Ninoles Date: Fri, 17 Jun 2011 12:22:02 +0200 Subject: Add sockopt ZMQ_RCVTIMEO/ZMQ_SNDTIMEO. - Add doc and tests - Add options and setup - Wait using poll/select Signed-off-by: Fabien Ninoles Signed-off-by: Martin Sustrik --- perf/remote_thr.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perf') diff --git a/perf/remote_thr.cpp b/perf/remote_thr.cpp index ba36b98..363ae7c 100644 --- a/perf/remote_thr.cpp +++ b/perf/remote_thr.cpp @@ -88,6 +88,8 @@ int main (int argc, char *argv []) } } +zmq_sleep (2); + rc = zmq_close (s); if (rc != 0) { printf ("error in zmq_close: %s\n", zmq_strerror (errno)); -- cgit v1.2.3