Problem with DatagramPacket and the IP ToS-Field

R

richard.kulzer

Hello!

I send UDP packets from A to B. In the sending DatagramSocket i set
the Traffic Class like this sendingSocket.setTrafficClass(0x08|0x10).
sendingSocket.getTrafficClass() --> returns 24, ok.

But on the receivers side, also after receiving some packets,
receivingSocket.getTrafficClass() returns 0.
So i think, the IP Header, or at least the Type-of-Service-Field, is
overwritten anywhere. But where? And how can i avoid this?

thanks a lot
Richi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top