Koert,

> Just need to get something straight in my head… In general zmq allows
> multiple connects and multiple binds to same endpoint. OK awesome.
>
> But when I try to bind multiple REP sockets to the same endpoint I get
> an error (Address in use). Okay so I my quick and dirty approach to
> creating a multi-threaded server won’t work. Instead I have to put a
> forwarder between the clients and servers.
>
> So how do I know which socket types do allow multiple binds? Or multiple
> connects?

All sockets allow for multiple binds and/or connects.

As for endpoints, only one socket can _bind_ to a specific endpoint. Any 
number of sockets can _connect_ to the specific endpoint.

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

Reply via email to