NAME

Net::Async::ZMQ::Socket - Use a ZMQ socket asynchronously using IO::Async

VERSION

version 0.001

DESCRIPTION

A subclass of IO::Async::Handle that works with ZMQ sockets.

It currently handles sockets from both ZMQ::LibZMQ3 and ZMQ::LibZMQ4 on both Unix-like systems and Windows.

METHODS

configure

method configure( %params )

socket

method socket()

Returns the underlying ZMQ socket. See the socket parameter.

PARAMETERS

socket

A ZMQ socket.

Takes the type

InstanceOf['ZMQ::LibZMQ3::Socket'] | InstanceOf['ZMQ::LibZMQ4::Socket']

AUTHOR

Zakariyya Mughal <zmughal@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Zakariyya Mughal.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.