Varol Okan wrote:

> Yes but how do I decouple the main server loop from the client handler loop ? 
> I.e. I'll get a new FD to talk to the client through accept, which will allow 
> the main server thread to wait for other clients to connect and have the 
> client handler do the work of this one client.

You don't have to. The dialogue with peers is defined by "messaging 
pattern" (i.e. socket types), see zmq_socket(3)

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to