powered by
initialize zmq context and zmq socket for to be used for further zmq operations.
init.context(threads=1L) init.socket(context, socket.type)
init.context returns a zmq context object. init.socket returns a zmq socket object.
init.context
init.socket
number of threads for the context to use
a zmq context object.
The ZMQ socket type requested e.g. ZMQ_REQ,ZMQ_REP,ZMQ_PULL,ZMQ_PUSH, etc.
ZMQ was written by Martin Sustrik <sustrik@250bpm.com> and Martin Lucina <mato@kotelna.sk>. rzmq was written by Whit Armstrong.
http://www.zeromq.org http://api.zeromq.org http://zguide.zeromq.org/page:all
connect.socket,bind.socket,receive.socket,send.socket,poll.socket
if (FALSE) { library(rzmq) context = init.context() in.socket = init.socket(context,"ZMQ_PULL") }
Run the code above in your browser using DataLab