[zeromq-dev] Immediate and linger on ROUTER socket

Luca Boccassi luca.boccassi at gmail.com
Mon Apr 9 21:00:49 CEST 2018


On Sun, 2018-04-08 at 08:53 +0000, harald at voca.no wrote:
> I understand, thanks for the reply. 
> 
> What about the Immediate option? Would a router socket ever queue on
> an incomplete connection anyway?
> 
> Kind regards
> Harald Nøkland
> Senior Robotics Engineer

I cannot remember exactly, it's used to decide what to do at some
stage(s) in the pipes management

> -----Opprinnelig melding-----
> Fra: zeromq-dev [mailto:zeromq-dev-bounces at lists.zeromq.org] På vegne
> av Luca Boccassi
> Sendt: 6. april 2018 23:56
> Til: ZeroMQ development list <zeromq-dev at lists.zeromq.org>
> Emne: Re: [zeromq-dev] Immediate and linger on ROUTER socket
> 
> On Fri, 2018-04-06 at 10:48 +0000, harald at voca.no wrote:
> > I have already read the documentation for the socket, but can't
> > figure 
> > out under which circumstances the Immediate and Linger options
> > would 
> > change the behavior of a ROUTER socket. Since the Router socket 
> > silently drops all unroutable messages, when will it matter what
> > the 
> > Linger value is?
> 
> When they are routable but not yet sent
> 
> > Kind regards
> > Harald Nøkland
> > Senior Robotics Engineer
> > 
> > -----Opprinnelig melding-----
> > Fra: zeromq-dev [mailto:zeromq-dev-bounces at lists.zeromq.org] På
> > vegne 
> > av Luca Boccassi
> > Sendt: 6. april 2018 10:33
> > Til: ZeroMQ development list <zeromq-dev at lists.zeromq.org>
> > Emne: Re: [zeromq-dev] Immediate and linger on ROUTER socket
> > 
> > On Fri, 2018-04-06 at 07:41 +0000, harald at voca.no wrote:
> > > Hi,
> > > 
> > > Does the socket options Immediate and Linger have any effect on
> > > a 
> > > ROUTER socket?
> > > 
> > > Kind regards
> > > Harald Nøkland
> > > Senior Robotics Engineer
> > 
> > http://api.zeromq.org/4-2:zmq-setsockopt
> > 
> > Applicable socket types:	all
> > Applicable socket types:	all, only for connection-oriented
> > transports.
> > 
> > --
> > Kind regards,
> > Luca Boccassi
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > https://lists.zeromq.org/mailman/listinfo/zeromq-dev
> 
> --
> Kind regards,
> Luca Boccassi
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev

-- 
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20180409/a7c51879/attachment.sig>


More information about the zeromq-dev mailing list