Hi.

On Tue, Jul 6, 2010 at 11:57 AM, hamster <yidiepxgx...@spammotel.com> wrote:
> Hello!
>
> I am a newbie with 0mq so I beg my pardon if this question looks boring, yet
> quick overview of docs/faqs/maillist gave me no answer.

Yeah doc organization is still a work in progress. But as your
learning feel free to contribute by signing in to the web site, which
is a wiki, and making any changes.

>
> Is there any way to setup two-way 0mq communication in "usual" client-server
> style? I mean the server which listens on a given port and then "forks" for
> every incoming client connection taking it with new process/thread?

Here's an example http://www.zeromq.org/blog:multithreaded-server

As far as I
> understand ZMQ_REQ/ZMQ_REP sockets are unidirectional

Typically, a ZMQ_REQ socket (client) sends a request message to a
ZMQ_REP (server) socket. The ZMQ_REQ socket blocks until the reply
message from the ZMQ_REP socket is returned to the ZMQ_REQ socket.

> and ZMQ_PAIR does not
> allow more than one client to connect to that "zmq_bound" socket.
>
>
>
_______________________________________________
> 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