Re: [zeromq-dev] Immediate and linger on ROUTER socket

2018-04-09 Thread Luca Boccassi
On Sun, 2018-04-08 at 08:53 +, har...@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-boun...@lists.zeromq.org] På vegne
> av Luca Boccassi
> Sendt: 6. april 2018 23:56
> Til: ZeroMQ development list 
> Emne: Re: [zeromq-dev] Immediate and linger on ROUTER socket
> 
> On Fri, 2018-04-06 at 10:48 +, har...@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-boun...@lists.zeromq.org] På
> > vegne 
> > av Luca Boccassi
> > Sendt: 6. april 2018 10:33
> > Til: ZeroMQ development list 
> > Emne: Re: [zeromq-dev] Immediate and linger on ROUTER socket
> > 
> > On Fri, 2018-04-06 at 07:41 +, har...@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@lists.zeromq.org
> > https://lists.zeromq.org/mailman/listinfo/zeromq-dev
> 
> --
> Kind regards,
> Luca Boccassi
> ___
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev

-- 
Kind regards,
Luca Boccassi

signature.asc
Description: This is a digitally signed message part
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Immediate and linger on ROUTER socket

2018-04-08 Thread har...@voca.no
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 | har...@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-boun...@lists.zeromq.org] På vegne av Luca 
Boccassi
Sendt: 6. april 2018 23:56
Til: ZeroMQ development list 
Emne: Re: [zeromq-dev] Immediate and linger on ROUTER socket

On Fri, 2018-04-06 at 10:48 +, har...@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-boun...@lists.zeromq.org] På vegne 
> av Luca Boccassi
> Sendt: 6. april 2018 10:33
> Til: ZeroMQ development list 
> Emne: Re: [zeromq-dev] Immediate and linger on ROUTER socket
> 
> On Fri, 2018-04-06 at 07:41 +, har...@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@lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev

--
Kind regards,
Luca Boccassi
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Immediate and linger on ROUTER socket

2018-04-06 Thread Luca Boccassi
On Fri, 2018-04-06 at 10:48 +, har...@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-boun...@lists.zeromq.org] På vegne
> av Luca Boccassi
> Sendt: 6. april 2018 10:33
> Til: ZeroMQ development list 
> Emne: Re: [zeromq-dev] Immediate and linger on ROUTER socket
> 
> On Fri, 2018-04-06 at 07:41 +, har...@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@lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev

-- 
Kind regards,
Luca Boccassi

signature.asc
Description: This is a digitally signed message part
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Immediate and linger on ROUTER socket

2018-04-06 Thread har...@voca.no
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-boun...@lists.zeromq.org] På vegne av Luca 
Boccassi
Sendt: 6. april 2018 10:33
Til: ZeroMQ development list 
Emne: Re: [zeromq-dev] Immediate and linger on ROUTER socket

On Fri, 2018-04-06 at 07:41 +, har...@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@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev


Re: [zeromq-dev] Immediate and linger on ROUTER socket

2018-04-06 Thread Luca Boccassi
On Fri, 2018-04-06 at 07:41 +, har...@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

signature.asc
Description: This is a digitally signed message part
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev


[zeromq-dev] Immediate and linger on ROUTER socket

2018-04-06 Thread har...@voca.no
Hi,

Does the socket options Immediate and Linger have any effect on a ROUTER socket?

Kind regards
Harald Nøkland
Senior Robotics Engineer

VOCA AS | Andøyfaret 15 | 4623 Kristiansand, Norway
Mobile: +47 995 995 12 | har...@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.

___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev