NAME
ZMQ::CZMQ::Zsocket - Wrapper Around zsocket_t
SYNOPSIS
use ZMQ::CZMQ;
use ZMQ::Constants (ZMQ_REQ);
my $ctx = ZMQ::CZMQ::Ctx->new;
my $sock = $ctx->socket(ZMQ_REQ);
$sock->bind($endpoint);
$sock->connect($endpoint);
$sock->disconnect;
$sock->poll($msecs);
$sock->type_str;
$sock->destroy($ctx);
# send() is overloaded
$sock->send($msg);
$sock->send($frame);
$sock->send($fmt, ...);
$sock->sendm($fmt, ...);
# sockopts are very much dependent on the underlying
# libzmq version: don't just trust this list
# If you pass an argument, you can set values
$sock->affinity()
$sock->backlog()
$sock->events()
$sock->fd()
$sock->identity()
$sock->ipv4only()
$sock->last_endpoint()
$sock->linger()
$sock->maxmsgsize()
$sock->multicast_hops()
$sock->rate()
$sock->rcvbuf()
$sock->rcvhwm()
$sock->rcvmore()
$sock->rcvtimeo()
$sock->reconnect_ivl()
$sock->reconnect_ivl_max()
$sock->recovery_ivl()
$sock->sndbuf()
$sock->sndhwm()
$sock->sndtimeo()