Networking, Setting the DSCP field in the IP header.

  • From: <Nick.Adamson@xxxxxxxxxxxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>, <program-l@xxxxxxxxxxxxx>
  • Date: Fri, 7 Dec 2007 08:35:43 -0000

Hi All.

I'm trying to set the DSCP field for a bunch of TCP and UDP messages I'm
sending.
This is setting the priority of the data packet.

Does any one know how I can do this in C++. Preferably I'd like a
platform independent way of doing it, if not any suggestions for Windows
Or Linux would be appreciated.

Cheers.
nick.


Nick Adamson
Software Engineer
General Dynamics UK LTD

Email: nick.adamson@xxxxxxxxxxxxxxxxxxxxxx
Tel: 01495 236467
http://www.generaldynamics.uk.com



This email and any files attached are intended for the addressee and may 
contain information of a confidential nature. If you are not the intended 
recipient, be aware that this email was sent to you in error and you should not 
disclose, distribute, print, copy or make other use of this email or its 
attachments. Such actions, in fact, may be unlawful. In compliance with the 
various Regulations and Acts, General Dynamics United Kingdom Limited reserves 
the right to monitor (and examine for viruses) all emails and email 
attachments, both inbound and outbound. Email communications and their 
attachments may not be secure or error- or virus-free and the company does not 
accept liability or responsibility for such matters or the consequences 
thereof.  General Dynamics United Kingdom Limited, Registered Office: 100 New 
Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653.
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

Other related posts:

  • » Networking, Setting the DSCP field in the IP header.