Zeromq Toolkit - Functions
The following functions are available:
ZeroMQ overview
zeromq | The zeromq package provides GNU Octave bindings to the ZeroMQ library to prov... |
ZeroMQ functions
iszmq | Determine whether H is a zeromq socket object. |
zmq_bind | Bind a zeromq socket to a endpoint. |
zmq_close | Close a zeromq socket. |
zmq_connect | Connect a zeromq socket to a endpoint. |
zmq_curve_keypair | Generate a random private/public keypair |
zmq_curve_public | Derive the public key from a private key |
zmq_disconnect | Disconnect a zeromq socket from an endpoint. |
zmq_errno | Get the value of errno from zeromq. |
zmq_getsockopt | Get the current value of an option. |
zmq_has | Check if the zmq library supports a given feature. |
zmq_poll | Wait up to timeout time for received data on socket. |
zmq_recv | Attempt to receive up to LEN bytes of data from zeromq socket. |
zmq_send | Attempt to send to DATA bytes of data to zeromq socket. |
zmq_setsockopt | Set a socket option on a zeromq socket. |
zmq_socket | Create a zeromq socket. |
zmq_strerror | Get the last error from zeromq. |
zmq_unbind | Unbind a previously bound zeromq socket from a endpoint. |
zmq_version | Get the ZeroMQ library version. |
zmq_z85_decode | Decode a z85 encoded string to a binary key. |
zmq_z85_encode | Encode a binary key as Z85 printable text. |
ZeroMQ socket type constants
ZMQ_DEALER | Constant for dealer socket type. |
ZMQ_PAIR | Constant for pair socket type. |
ZMQ_PUB | Constant for publisher type. |
ZMQ_PULL | Constant for pull socket type. |
ZMQ_PUSH | Constant for push socket type. |
ZMQ_REP | Constant for reply socket type. |
ZMQ_REQ | Constant for request socket type. |
ZMQ_ROUTER | Constant for router socket type. |
ZMQ_STREAM | Constant for stream socket type. |
ZMQ_SUB | Constant for subscriber type. |
ZMQ_XPUB | Constant for publisher type. |
ZMQ_XSUB | Constant for subscriber type. |
ZeroMQ get/setsockopt constants
ZMQ_EVENTS | Constant for getsockopt EVENTS value option |
ZMQ_SUBSCRIBE | Constant for setsockopt subscribe option |
ZMQ_UNSUBSCRIBE | Constant for setsockopt unsubscribe option |
ZMQ_RCVMORE | Constant for getsockopt RCVMORE value option |
ZMQ_TYPE | Constant for getsockopt TYPE value option |
ZMQ_IDENTITY | Constant for getsockopt and setsockopt IDENTITY value option |
ZMQ_LAST_ENDPOINT | Constant for getsockopt last endpoint value option |
ZMQ_CONNECT_TIMEOUT | Constant for get/setsockopt connect timeout value |
ZMQ_CURVE_PUBLICKEY | Constant for getsockopt and setsockopt CURVE_PUBLICKEY value option |
ZMQ_CURVE_SECRETKEY | Constant for getsockopt and setsockopt CURVE_PRIVATEKEY value option |
ZMQ_CURVE_SERVERKEY | Constant for getsockopt and setsockopt CURVE_SERVERKEY value option |
ZMQ_CURVE_SERVER | Constant for getsockopt and setsockopt CURVE_SERVER value option |
ZMQ_PLAIN_SERVER | Constant for getsockopt and setsockopt PLAIN_SERVER value option |
ZMQ_PLAIN_USERNAME | Constant for getsockopt and setsockopt PLAIN_USERNAME value option |
ZMQ_PLAIN_PASSWORD | Constant for getsockopt and setsockopt PLAIN_PASSWORD value option |
ZMQ_MECHANISM | Constant for getsockopt and setsockopt MECHANISM value option |
ZMQ_SOCKS_PROXY | Constant for getsockopt and setsockopt SOCKS_PROXY value option |
ZMQ_GSSAPI_PLAINTEXT | Constant for getsockopt and setsockopt GSSAPI_PLAINTEXT value option |
ZMQ_GSSAPI_PRINCIPAL | Constant for getsockopt and setsockopt GSSAPI_PRINCIPAL value option |
ZMQ_GSSAPI_SERVER | Constant for getsockopt and setsockopt GSSAPI_SERVER value option |
ZMQ_GSSAPI_SERVICE_PRINCIPAL | Constant for getsockopt and setsockopt GSSAPI_SERVICE_PRINCIPAL value option |
ZMQ_PRIORITY | Constant for getsockopt and setsockopt SO_PRIORITY value option in linux only. |
ZMQ_RATE | Constant for getsockopt and setsockopt value option |
ZMQ_ROUTING_ID | Constant for getsockopt and setsockopt IDENTITY value option |
ZMQ_BACKLOG | Constant for getsockopt and setsockopt to set backlog for pending connections |
ZeroMQ ZMQ_EVENTS flags
ZMQ_POLLIN | Constant bitmask value for getsockopt EVENTS value option |
ZMQ_POLLOUT | Constant bitmask value for getsockopt EVENTS value option |
ZeroMQ receive send options
ZMQ_DONTWAIT | Constant for recv flag DONTWAIT |
ZMQ_SNDMORE | Constant for send flag SNDMORE |
ZeroMQ ZMQ_MECHANISM values
ZMQ_NULL | Constant value for getsockopt MECHANISM value option |
ZMQ_PLAIN | Constant value for getsockopt MECHANISM value option |
ZMQ_CURVE | Constant value for getsockopt MECHANISM value option |
ZMQ_GSSAPI | Constant value for getsockopt MECHANISM value option |