We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25dbe96 + 59f7d1c commit a96e0deCopy full SHA for a96e0de
zmq.hpp
@@ -427,6 +427,18 @@ namespace zmq
427
}
428
#endif
429
430
+ inline int setctxopt(int option_, int optval_)
431
+ {
432
+ int rc = zmq_ctx_set (ptr, option_, optval_);
433
+ ZMQ_ASSERT (rc == 0);
434
+ return rc;
435
+ }
436
+
437
+ inline int getctxopt(int option_)
438
439
+ return zmq_ctx_get (ptr, option_);
440
441
442
inline ~context_t () ZMQ_NOTHROW
443
{
444
close();
0 commit comments