++ed by:
JACQUESG

1 PAUSE user

Jacques Germishuys
Build Status: Travis Build Status: AppVeyor Coverage Status

NAME

ZMQ::Raw - Perl bindings to the ZeroMQ library

VERSION

version 0.21

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";

METHODS

has( $feature )

Check if $feature is available.

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_SERVER

ZMQ_CLIENT

ZMQ_RADIO

ZMQ_DISH

ZMQ_GATHER

ZMQ_SCATTER

ZMQ_DGRAM

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_MSG_T_SIZE

ZMQ_THREAD_AFFINITY

ZMQ_THREAD_NAME_PREFIX

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

ZMQ_EVENT_HANDSHAKE_FAILED_NO_DETAIL

ZMQ_EVENT_HANDSHAKE_SUCCEEDED

ZMQ_EVENT_HANDSHAKE_FAILED_PROTOCOL

ZMQ_EVENT_HANDSHAKE_FAILED_AUTH

FEATURE_IPC

FEATURE_PGM

FEATURE_TIPC

FEATURE_NORM

FEATURE_CURVE

FEATURE_GSSAPI

FEATURE_DRAFT

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.