The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Build Status: Travis Build Status: AppVeyor Coverage Status

NAME

ZMQ::Raw - Perl bindings to the ZeroMQ library

VERSION

version 0.03

SYNOPSIS

        use ZMQ::Raw;

        my $ctx = ZMQ::Raw::Context->new;

        my $responder = ZMQ::Raw::Socket->new ($ctx, ZMQ::Raw->ZMQ_REP);
        $responder->bind ('tcp://*:5555');

        my $requestor = ZMQ::Raw::Socket->new ($ctx, ZMQ::Raw->ZMQ_REQ);
        $requestor->connect ('tcp://localhost:5555');

        # prints: Request 'hello'
        $requestor->send ('hello');
        print "Request '", $responder->recv(), "'\n";

        # prints: Response 'world'
        $responder->send ('world');
        print "Response '", $requestor->recv(), "'\n";

CONSTANTS

ZMQ_PAIR

ZMQ_PUB

ZMQ_SUB

ZMQ_REQ

ZMQ_REP

ZMQ_DEALER

ZMQ_ROUTER

ZMQ_PULL

ZMQ_PUSH

ZMQ_XPUB

ZMQ_XSUB

ZMQ_STREAM

ZMQ_DONTWAIT

ZMQ_SNDMORE

ZMQ_POLLIN

ZMQ_POLLOUT

ZMQ_POLLERR

ZMQ_POLLPRI

ZMQ_IO_THREADS

ZMQ_MAX_SOCKETS

ZMQ_SOCKET_LIMIT

ZMQ_THREAD_PRIORITY

ZMQ_THREAD_SCHED_POLICY

ZMQ_MAX_MSGSZ

ZMQ_EVENT_CONNECTED

ZMQ_EVENT_CONNECT_DELAYED

ZMQ_EVENT_CONNECT_RETRIED

ZMQ_EVENT_LISTENING

ZMQ_EVENT_BIND_FAILED

ZMQ_EVENT_ACCEPTED

ZMQ_EVENT_ACCEPT_FAILED

ZMQ_EVENT_CLOSED

ZMQ_EVENT_CLOSE_FAILED

ZMQ_EVENT_DISCONNECTED

ZMQ_EVENT_MONITOR_STOPPED

ZMQ_EVENT_ALL

AUTHOR

Jacques Germishuys <jacquesg@striata.com>

LICENSE AND COPYRIGHT

Copyright 2017 Jacques Germishuys.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.