This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a simple client/server programs that uses simple basic tcp sockets.
I'm trying to set the client socket option traffic class (differentiated services field or DSCP), by doing:
Socket requestSocket = new Socket();
InetSocketAddress addr = new InetSocketAddress(InetAddress.getByName("192.168.16.12"), 2004);
//send messages on the socket...
When checking the connection using wireshark, I see that on SunOs I see that this field is set correctly(under the IP section, differentiated services of the packet).
but when I run the same code on Linux I don't see this field set.