Re: [zeromq-dev] Server Socket Initiate Communication

2018-02-10 Thread Justin Karneges
Assuming you're talking about route IDs with respect to ROUTER sockets, it is possible to use predetermined IDs when sending messages. For example, a client can create a ROUTER socket and connect it to multiple servers. As long as it also knows the ZMQ_IDENTITY used by each of these servers (you'd

Re: [zeromq-dev] Server Socket Initiate Communication

2018-02-10 Thread Bill Torpey
Let me see if I can explain this from the perspective of pub/sub messaging, as that is what I am familiar with. With pub/sub messaging “clients” subscribe to topics and “servers” publish messages on those topics. (The use of “client” and “server” here is somewhat arbitrary, but I believe it’s

Re: [zeromq-dev] Server Socket Initiate Communication

2018-02-10 Thread Luca Boccassi
On Sat, 2018-02-10 at 10:29 -0500, Matthew Harrigan wrote: > I apologize in advance if this is a dumb question, but would still > appreciate knowing why. So, why can't a server socket initiate > communication? I am focused on this documentation > http://api.zeromq.org/4-2:zmq-socket. AFAICT the onl

[zeromq-dev] Server Socket Initiate Communication

2018-02-10 Thread Matthew Harrigan
I apologize in advance if this is a dumb question, but would still appreciate knowing why. So, why can't a server socket initiate communication? I am focused on this documentation http://api.zeromq.org/4-2:zmq-socket. AFAICT the only state change that happens in a server socket when a client socket