[zeromq-dev] Immediate and linger on ROUTER socket

harald at voca.no harald at voca.no
Sun Apr 8 10:53:51 CEST 2018


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

VOCA AS | Andøyfaret 15 | 4623 Kristiansand, Norway
Mobile: +47 995 995 12 | harald at voca.no | www.voca.no

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

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


More information about the zeromq-dev mailing list