xx_utility: Utility Functions

Utility FunctionsR Documentation

Utility Functions

Description

Utility functions

Usage

zmq.strerror(errno)

zmq.version()

Arguments

errno

an integer for the error number

Details

zmq.strerror() gets ZeroMQ error message string.

zmq.version() print current ZeroMQ version.

Value

zmq.strerror() returns an R string containing ZeroMQ error message.

Author(s)

Wei-Chen Chen wccsnow@gmail.com.

References

ZeroMQ/4.1.0 API Reference: https://libzmq.readthedocs.io/en/zeromq4-1/

Programming with Big Data in R Website: https://pbdr.org/

See Also

zmq.ctx.new(), zmq.ctx.destroy(), zmq.socket(), zmq.close().

Examples

## Not run: 
library(pbdZMQ, quietly = TRUE)

context <- zmq.ctx.new()
zmq.ctx.destroy(context)
zmq.strerror(0)

zmq.ctx.destroy(context) # Error since context is free.
zmq.strerror(14)

## End(Not run)


pbdZMQ documentation built on Sept. 11, 2024, 5:36 p.m.