-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zmq4: implement proper REQ and REP socket
This fixes problems with REP sending messages to all connected peers rather than to the originating peer. The REQ/REP semantics now matches the recommended implementation behavior as specified in the ZMQ RFC. In particular: * REQ shall route outgoing messages to connected peers using a round-robin strategy * REQ shall block on sending, or return a suitable error, when it has no connected peers. * REP shall not block on sending Thus, this changes the behavior a bit as REP no longer blocks on Send. Fixes #70
- Loading branch information
Showing
4 changed files
with
600 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.