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

Chuck Remes cremes.devlist at mac.com
Thu Apr 15 19:47:15 CEST 2010

On Apr 15, 2010, at 11:18 AM, Martin Lucina wrote:

> 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?

I think this new name better describes the intent. I like it.


More information about the zeromq-dev mailing list