Results 1 to 3 of 3
Hi,
We have tried to check the IP header using Wireshark on the outgoing packet after setting the client_socket.setTraficClass(34); in the linux machine.
But 34 is not set. instead it ...
- 08-23-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 2
Networking - Problem with setTraficClass() in Linux machine
Hi,
We have tried to check the IP header using Wireshark on the outgoing packet after setting the client_socket.setTraficClass(34); in the linux machine.
But 34 is not set. instead it was showing 00.
is there any right path to change the dscp value in linux machine?
Please let me know.
- 08-23-2010 #2Just Joined!
- Join Date
- Jul 2010
- Posts
- 53
do the values get set if you use only the fundamental (old) qos constants?
e.g. if you do setTrafficClass(16) does that value get set?Code:* IPTOS_LOWCOST (0x02) * IPTOS_RELIABILITY (0x04) * IPTOS_THROUGHPUT (0x08) * IPTOS_LOWDELAY (0x10)
are you using UDP sockets?
- 08-24-2010 #3Just Joined!
- Join Date
- Aug 2010
- Posts
- 2
yes, we are using the UDP sockets.
if you do setTrafficClass(16) it wont set the value in the UDP socket.
I have not tried the below constants. But I tried with different integer value.
*IPTOS_LOWCOST (0x02)
* IPTOS_RELIABILITY (0x04)
* IPTOS_THROUGHPUT (0x0
* IPTOS_LOWDELAY (0x10)
I am wonder why this is not working in the linux platform.
please put ur comment on this.


Reply With Quote