ZMQ::CZMQ::Ctx - Wrapper Around zctx_t
use ZMQ::CZMQ; use ZMQ::Constants qw(ZMQ_REQ); my $ctx = ZMQ::CZMQ::Ctx->new; $ctx->destroy; # be careful! $ctx->shadow; $ctx->set_io_threads($io_threads); $ctx->set_linger($linger); $ctx->set_hwm($hwm); my $sock = $ctx->socket(ZMQ_REQ);
For now, internal use for ZMQ::CZMQ::Zctx.
To install ZMQ::CZMQ, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ZMQ::CZMQ
CPAN shell
perl -MCPAN -e shell install ZMQ::CZMQ
For more information on module installation, please visit the detailed CPAN module installation guide.