The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

ZMQ::LibCZMQ1 - Wrapper Around czmq high level ZMQ API

SYNOPSIS

    use ZMQ::LibCZMQ1;

    my $ctx = zctx_new();
    zctx_destroy( $ctx );
    zctx_set_iothreads( $ctx, $iothreads );
    zctx_set_linger( $ctx, $linger );

    # ...and a lot more

DESCRIPTION

This is a wrapper around libczmq (1.3.4). Versions prior to 1.3.4 have been deliberately dropped off from the supported libczmq version (however, patches are welcome)

This module is still in heavey development. Please send issues, patches and pull requests if you have problems.

INSTALLATION

You need to make sure that BOTH libzmq and libczmq files are searchable when the compilation happens: Consider this case: you have zeromq-2.x in /usr/local, but you want to build against a custom zeromq-3.x in /path/to/app. If you don't specify anything, your compiler will look find zeromq-2.x in the standard location (/usr/local) and not the custom one.

If you installed your libraries with pkg-config data, then our scripts should be able to detect them automatically (but of course, you still need to make sure that zeromq-3.x files are found before zeromq-2.x files in the above scenario). Otherwise, use ZMQ_HOME and CZMQ_HOME environment variables:

    ZMQ_HOME=/path/to/zeromq \
    CZMQ_HOME=/path/to/czmq \
        perl Makefile.PL
    make
    make test
    make install

FUNCTIONS

zmq_version()

Returns the version of libzmq this czmq (and hence this module) is built against.

In list context, returns 3 elements consisting of major version, minor version, and patch version.

In scalar context returns dotted version string.

czmq_version()

Returns the version of czmq this module is built against.

In list context, returns 3 elements consisting of major version, minor version, and patch version.

In scalar context returns dotted version string.

zctx_destroy

zctx_interrupted

zctx_new

zctx_set_iothreads

zctx_set_linger

zframe_data

zframe_destroy

zframe_dup

zframe_eq

zframe_more

zframe_new

zframe_print

zframe_recv

zframe_recv_nowait

zframe_reset

zframe_send

zframe_size

zframe_strdup

zframe_streq

zframe_strhex

zframe_zero_copy

zmsg_add

zmsg_addmem

zmsg_addstr

zmsg_content_size

zmsg_decode

zmsg_destroy

zmsg_dump

zmsg_dup

zmsg_encode

zmsg_first

zmsg_last

zmsg_load

zmsg_new

zmsg_next

zmsg_pop

zmsg_popstr

zmsg_push

zmsg_pushmem

zmsg_pushstr

zmsg_recv

zmsg_remove

zmsg_save

zmsg_send

zmsg_size

zmsg_unwrap

zmsg_wrap

zsocket_bind

zsocket_connect

zsocket_destroy

zsocket_new

zsocket_poll

zsocket_type_str

zsocket_affinity

zsocket_backlog

zsocket_events

zsocket_fd

zsocket_hwm

zsocket_linger

zsocket_maxmsgsize

zsocket_mcast_loop (only in libzmq 2.x)

zsocket_rate

zsocket_rcvbuf

zsocket_rcvhwm (only for libzmq 3.x)

zsocket_rcvmore

zsocket_reconnect_ivl

zsocket_reconnect_ivl_max

zsocket_recovery_ivl

zsocket_recovery_ivl_msec (only for libzmq 2.x)

zsocket_set_affinity

zsocket_set_backlog

zsocket_set_hwm (only for libzmq 2.x)

zsocket_set_identity

zsocket_set_linger

zsocket_set_maxmsgsize (only for libzmq 3.x)

zsocket_set_mcast_loop (only in libzmq 2.x)

zsocket_set_rate

zsocket_set_rcvbuf

zsocket_set_rcvhwm (only for libzmq 3.x)

zsocket_set_reconnect_ivl

zsocket_set_reconnect_ivl_max

zsocket_set_recovery_ivl (only in libzmq 2.x)

zsocket_set_recovery_ivl_msec (only in libzmq 2.x)

zsocket_set_sndbuf

zsocket_set_sndhwm

zsocket_set_subscribe

zsocket_set_swap (only in libzmq 2.x)

zsocket_set_unsubscribe

zsocket_sndbuf

zsocket_sndhwm

zsocket_swap (only in libzmq 2.x)

zsocket_type

zstr_recv

zstr_recv_nowait

zstr_send

zstr_sendm