[zeromq-dev] Market data Subscribe
Nishant Mittal
nmittal at rblt.com
Wed Jan 2 18:59:48 CET 2013
Hi, I have a publisher thats sending market data for all stocks (A-Z). I
plan to have 2 subscribers to split the load between them so all stocks
starting with letters from A to K go to first and the rest go to the second.
Question is do i have to do..
zmq_setsockopt (socket, ZMQ_SUBSCRIBE, "A", 1);
zmq_setsockopt (socket, ZMQ_SUBSCRIBE, "B", 1);
zmq_setsockopt (socket, ZMQ_SUBSCRIBE, "C", 1);
...
zmq_setsockopt (socket, ZMQ_SUBSCRIBE, "K", 1);
or is there another better way?
thanks
Nishant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130102/4afa2bfa/attachment.htm>
More information about the zeromq-dev
mailing list