| Author |
how to change ToS value of IP layer
|
Jithu Joijoide
Greenhorn
Joined: May 14, 2001
Posts: 17
|
|
Hello Experts, I was trying out a java networking application and was wondering, is there a way in java where I can change the value of TOS field of IP layer when Iam sending some UDP packets from my application. Though Java Doc mentions this field as unused. This is getting more popular now as DSCP and modifying this is becoming important based on the type of data on whether it is real time data like voice/video. So is there a way to modify this value in the data that I would be sending from my application. Just for information, the below link would clarify the importance of this field http://www.cisco.com/warp/public/105/dscpvalues.html Thanks in advance. Regards Jithu
|
 |
Jithu Joijoide
Greenhorn
Joined: May 14, 2001
Posts: 17
|
|
Ok. I think I found the solution for my question. The TOS field of IP header is modifiable by using the method setTrafficClass() of java.net.Socket class. Thanks, Jithu
|
 |
 |
|
|
subject: how to change ToS value of IP layer
|
|
|