[zeromq-dev] Immediate and linger on ROUTER socket

harald at voca.no harald at voca.no
Fri Apr 6 12:48:10 CEST 2018


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?

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


More information about the zeromq-dev mailing list