Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Setting non-Zero DSCP values from application using winsock2 on Windows 2012

$
0
0

Hi,

There are actually several questions:

1.a. Is IP_TOS with IPPROTO_IP for the command setsockopt of the winsock2 interface supported for Windows 2012?

Comment : With setsockopt(ConnectSocket, IPPROTO_IP, IP_TOS, (char*)&tosBits, sizeof(tosBits)) initiated in an application, the DSCP value for a sent ip packet could be set on earlier Windows Version (Windows 2003 Server) and Unix etc. I assume that Windows 2012 is also forced to satisfy the winsock2 interface.

1.b. If yes, what do I have to configure on a Windows 2012 Server that the above setsockopt command remains working?

1.c. If no, how does the alternative code snipped look like and what do I have to configure on a Windows 2012 Server that the alternate code is running?

Best Regards


Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>