[zeromq-dev] Proposal for 2.0.7: Renaming ZMQ_P2P to ZMQ_PAIR

Martin Lucina mato at kotelna.sk
Thu Apr 15 18:18:59 CEST 2010


All,

as part of some API and naming cleanups (more to core) that we'd like to do
before the 2.0.7 release I would like to solicit comments for/against
renaming the ZMQ_P2P socket type to ZMQ_PAIR.

Rationale: The name "ZMQ_P2P" evokes a) peer-to-peer networks such as
Bittorrent et al. b) "many to many" communication.

Given that the ZMQ_P2P socket is for communication between a PAIR of peers,
the name ZMQ_PAIR is more accurate, and also in line with e.g. POSIX calls
such as socketpair().

Comments?

-mato



More information about the zeromq-dev mailing list