ZMQ_CONSTANT_NAME in the C API turns into zmq.CONSTANT_NAME in Lua.
Reports 0MQ library version. See zmq_version(3).
zmq.version()
Initialises ØMQ context. See zmq_init(3).
zmq.init(io_threads)
Terminates ØMQ context. See zmq_term(3).
ctx:term()
Creates ØMQ socket. See zmq_socket(3).
ctx:socket(type)
Destroys ØMQ socket. See zmq_close(3).
s:close()
Sets a specified option on a ØMQ socket. See zmq_setsockopt(3).
s:setopt(option, optval)
Gets a specified option of a ØMQ socket. See zmq_getsockopt(3).
s:getopt(option)
Binds the socket to the specified address. See zmq_bind(3).
s:bind(addr)
Connect the socket to the specified address. See zmq_connect(3).
s:connect(addr)
Sends a message. See zmq_send(3).
s:send(msg)
s:send(msg, flags)
Retrieves a message from the socket. See zmq_recv(3).
s:recv()
s:recv(flags)