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 only state change
> that
> happens in a server socket when a client socket connects to it is
> that the
> map that relates addresses to routing id's get updated. Suppose a
> machine
> with a server socket knows what address it want to communicate with,
> whether hard coded, from a beacon, service locator, whatever. Why
> can't it
> just tell the server socket to make a routing id to that address and
> then
> start communicating? Note I am working on a toy educational project
> where a
> gaggle of peers uses raft to get a leader and formally join or leave
> (different from crashing or network partitions). In such a peer to
> peer
> network the symmetry of each peer binding a server socket to itself
> and
> talking to other peers seems appealing. Thank you

For P2P networks check out zyre https://github.com/zeromq/zyre

-- 
Kind regards,
Luca Boccassi

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to