summaryrefslogtreecommitdiff
path: root/gr-zeromq/include/gnuradio/zeromq/pull_msg_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-zeromq/include/gnuradio/zeromq/pull_msg_source.h')
-rw-r--r--gr-zeromq/include/gnuradio/zeromq/pull_msg_source.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-zeromq/include/gnuradio/zeromq/pull_msg_source.h b/gr-zeromq/include/gnuradio/zeromq/pull_msg_source.h
index 5a4e1a88a2..ec6ec3c5ae 100644
--- a/gr-zeromq/include/gnuradio/zeromq/pull_msg_source.h
+++ b/gr-zeromq/include/gnuradio/zeromq/pull_msg_source.h
@@ -35,9 +35,11 @@ public:
*
* \param address ZMQ socket address specifier
* \param timeout Receive timeout in milliseconds, default is 100ms, 1us increments
+ * \param bind If true this block will bind to the address, otherwise it will
+ * connect; the default is to connect
*
*/
- static sptr make(char* address, int timeout = 100);
+ static sptr make(char* address, int timeout = 100, bool bind = false);
/*!
* \brief Return a std::string of ZMQ_LAST_ENDPOINT from the underlying ZMQ socket.