You probably want a ROUTER + DEALER combination - the asyncsrv example
in the guide should tell you what you need.

http://zguide.zeromq.org/page:all#The-Asynchronous-Client-Server-Pattern

On Fri, Dec 13, 2013 at 1:39 PM, 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

Reply via email to