- Object can be either userdata or table. I do not consider underlying type like part of public API.
- I do not consider error message format as part of lua-zmq API so this library provide its own variant.
- Convert to string of object now is not compatiable (except for
- libzmq has changed since 2.x version and some functionlity not avaliable (e.g.
ZMQ_SWAPoptions). This library do not provide any emulation for such cases.
lua-zmqin some cases returns second
zmq.zmq_msg_t.init()returns new message and
nilas second value,
nilas second value).
lzmq-zmqreturns only one value.
stopwatchtimer can not be restarted in
lzmq-zmqallows stop and then restart it.
lua-zmqdo not close sockets when terminate context but just hang-up forever when try do it and there exists alive sockets.
lzmq-zmqcloses all opend sockets before terminate context.
lzmq-zmqprovides set function with and without
lua-zmqexports function only with one name. E.g.
Socket object has one additional method
lzmq.socketobject. This function need to uset with original
lzmq.pollercalss and is not part of original
lzmq-zmqkeep data on resize message. if you have message
hello worldand then you call
msg:set_size(5)then message will contain
lua-zmqdoes not save such data and it will contain garabage but because of memory allocator it may have correct result.
This library uses
lzmq.poller class directly.