linux - setsockopt fails for IPPROTO_TCP IP_TOS in C - Stack Overflow
My code fails. I am running as root (same behavior as normal user) First I want to set the TOS and then get the value. int tos_local = 0x28; if (setsockopt(sockfd, IPPROTO_TCP, IP ......