Create a zeromq socket.
type - the socket type to create.
Supported socket types are:
ZMQ_PUB
Publish socket
ZMQ_SUB
Subscribe socket
ZMQ_REQ
Request socket
ZMQ_REP
Reply socket
ZMQ_PULL
Pull socket
ZMQ_PUSH
Push socket
ZMQ_PAIR
Pair socket
ZMQ_DEALER
Dealer socket
ZMQ_ROUTER
Router socket
ZMQ_XPUB
Publish socket
ZMQ_XSUB
Subscribe socket
ZMQ_STREAM
Stream socket
sock - an instance of octave_zeromq_socket class.
See also: ZMQ_PUB, ZMQ_SUB, ZMQ_PUSH, ZMQ_PULL, ZMQ_REQ, ZMQ_REP, ZMQ_PAIR, ZMQ_DEALER, ZMQ_ROUTER, ZMQ_XPUB, ZMQ_XSUB, ZMQ_STREAM.
Package: zeromq