[zeromq-dev] Feedback on new PATCH socket
sustrik at 250bpm.com
Sat May 7 19:58:11 CEST 2011
On 05/07/2011 12:09 PM, Pieter Hintjens wrote:
> Martin, you tend to disparage anything you don't like or understand as
> "a hack" or "confusion". There is really no confusion *between* XREP
> and ROUTER except perhaps in your mind.
The two patterns (routing vs. req/rep) are semantically different. So
far I've artificially kept the implementation in such state that single
socket type can be used for both. It had to be done in 2.x series to
keep the backwards compatibility.
However, this can't hold forever. Check issue 190, for example. Once
it's fixed, the router pattern will break. At that point there won't be
any other way out that explicitly separating the patterns.
More information about the zeromq-dev