[zeromq-dev] Basic questions on ZeroMQ functionality

shyam valsan egorulz at gmail.com
Thu Jan 10 14:03:24 CET 2013


I have few basic questions on ZeroMQ functionality



-          What is the maximum buffer size for zeroMQ receive socket
(ZMQ_SUB). Wanted to know how many messages can be queued up on the receive
socket.



-          What is the max length of messages that can be send on the
socket using zmq_send(). If the length exceeds the limit, will it be
handled internally by zeroMQ as two different message or will the message
get truncated?



                After I have opened a socket for listening [ i.e after
successful calls to zmq_connect and zmq_setsockopt() with ZMQ_SUBSCRIBE
option],all messages  being send on that port (where subscribe socket is
listening) will be received by the subscribe socket and queued up in its
receive queue. Once zmq_receive() call is made all these messages will be
received by application. Is understanding correct.



Thanks,

Shyam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130110/f6332439/attachment.htm>


More information about the zeromq-dev mailing list