Jump to main content

##

# TCP_ADJUST_FLAGS Enumeration

## C

    typedef enum {
    TCP_ADJUST_GIVE_REST_TO_RX = 0x01,
    TCP_ADJUST_GIVE_REST_TO_TX = 0x02,
    TCP_ADJUST_PRESERVE_RX = 0x04,
    TCP_ADJUST_PRESERVE_TX = 0x08,
    TCP_ADJUST_TX_ONLY = 0x10,
    TCP_ADJUST_RX_ONLY = 0x20
    } TCP_ADJUST_FLAGS;

## Description

Enumeration: TCP_ADJUST_FLAGS.

Adjusts socket RX and TX buffer sizes.

## Members

Members | Description
--- | ---
TCP_ADJUST_GIVE_REST_TO_RX = 0x01 | Resize flag: extra bytes go to RX.
TCP_ADJUST_GIVE_REST_TO_TX = 0x02 | Resize flag: extra bytes go to TX.
TCP_ADJUST_PRESERVE_RX = 0x04 | Resize flag: attempt to preserve RX buffer.
TCP_ADJUST_PRESERVE_TX = 0x08 | Resize flag: attempt to preserve TX buffer.
TCP_ADJUST_TX_ONLY = 0x10 | Resize flag: adjust the TX buffer only.
TCP_ADJUST_RX_ONLY = 0x20 | Resize flag: adjust the RX buffer only.