# TSHttpTxnClientPacketTosSet¶

## Synopsis¶

#include <ts/ts.h>

TSReturnCode TSHttpTxnClientPacketTosSet(TSHttpTxn txnp, int tos)

## Description¶

Change packet tos for the client side connection.

Important

Changes take effect immediately

Note

TOS is deprecated and replaced by DSCP. This is still used to set DSCP, however the first 2 bits of this value will be ignored as they now belong to the ECN field.