[nanomsg] Re: TCP transport protocol and IP_TOS

  • From: "Garrett D'Amore" <garrett@xxxxxxxxxx>
  • To: "nanomsg@xxxxxxxxxxxxx" <nanomsg@xxxxxxxxxxxxx>
  • Date: Thu, 8 Jun 2017 08:39:42 -0700

Not at present.  Patches are welcome.  (I’ve actually never seen IP_TOS in
the wild, so I’d love to hear more about how you are using it.)

 - Garrett

On Thu, Jun 8, 2017 at 7:41 AM, Andris <dmarc-noreply@xxxxxxxxxxxxx> wrote:

Hello!

Is there any nanomsg API to set/change IP_TOS field (when using TCP
transport protocol)?

For standard Linux socket I can do it in following way:
setsockopt(s, IPPROTO_IP, IP_TOS, (char *) &opt, sizeof(opt))

Thanks!

Other related posts: