ZeroMQ, ROUTER - DEALER, send a message to all -


one server - zmq_router, many clients - zmq_dealer

how on server(zmq_router) send message clients(zmq_dealer)?

upd: know there pub-sub pattern , need. want use current router-dealer socket. possible?

yes, won't answer hear. think there isn't flag, or socket option this. can do:

track connected dealers manually, create loop , send same stuff every connected dealer. if send large messages can zero copy load, don't have allocate memory time time.


Comments