If your server uses a ROUTER socket and your clients use DEALER sockets each can send messages to the other in any order.
Once the clients send a message then the router can know the dealers identity to be able to send messages back. Best, Matt. Sent from my iPhone > On 14 Dec 2013, at 7:39 am, Kelly Sommers <kell.somm...@gmail.com> wrote: > > Hey everyone! > > I'm looking to have a server that can accept many client connections but once > connected each client/server relationship is bidirectional. I know it's > simple to do request/response but sometimes the server will be the one > sending messages to the client first, or sometimes the client to the server > first. > > The client will always initiate the connection to the server though. > > Does anyone know if there's an example that shows how to do this? I couldn't > find one but some of my ZMQ terminology googling foo might have been off :) > > Thanks for the help in advance! > Kelly > _______________________________________________ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev