When messages are sent via TCP or UDP, the packets are prefaced with an IP header.
I am interested in building a test application that sets the TOS (DSCP) field of the IP header, and then sending them through a Cisco router that hopefully (if configured properly) will prioritize the routing of the messages based on the TOS value.
Does anyone know how or whether it is possible to configure the IP header in C or C++?
Btw, I do not want to set an option with the socket, because I want to assign different priorities based on the message type, and not just treat every message as if it were the same.



Adv Reply


Bookmarks