[nanomsg] Re: Where "Channel ID" are managed in the code ?

  • From: zerotacg <zero@xxxxxxxxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Sat, 18 Jan 2014 08:57:40 +0100

On 16.01.2014 11:03, Laurent Alebarde wrote:
> Reading that (dated Nov 16th 2013): "the REQ socket can have only one
> request at flight at any given moment" from here:
> http://comments.gmane.org/gmane.comp.lib.nanomsg/417
> I need clarifications to be able to go on. Shall I conclude REP suffers
> the same limitations ? Then what I want to do would be not feasible
> until asynchronous capability is introduced in REP sockets.
> But as a nanomsg newbbie, I cannot be sure.
> What is the status please ?
with RAW nn sockets which is kind of like ROUTER in 0mq you should have
enough freedom to get what you want
> 
> Concerning REQ, does it mean for example that I cannot send two messages
> until the first one receives a reply ?
when you send a new request the old one gets dropped [1]

[1]
https://github.com/nanomsg/nanomsg/blob/master/src/protocols/reqrep/req.c#L486

Other related posts: