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
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to