metaonly module ti.ndk.config.Tcp

NDK Transmission Control Protocol (TCP) settings and configuration

The Tcp module is used to configure settings for TCP, including: [ more ... ]
Configuration settings sourced in ti/ndk/config/Tcp.xdc
DETAILS
The Tcp module is used to configure settings for TCP, including:
  • Buffer sizes
  • Maximum number of reassembly packets
  • Idle time
  • KEEP probe settings
 
const Tcp.defaultKeepIdleTime
Configuration settings
const Tcp.defaultKeepIdleTime = 72000;
 
 
const Tcp.defaultKpProbIntv
Configuration settings
const Tcp.defaultKpProbIntv = 750;
 
 
const Tcp.defaultKpProbTimeout
Configuration settings
const Tcp.defaultKpProbTimeout = 6000;
 
 
const Tcp.defaultMaxReasmPkts
Configuration settings
const Tcp.defaultMaxReasmPkts = 2;
 
 
const Tcp.defaultRxBufLimit
Configuration settings
const Tcp.defaultRxBufLimit = 8192;
 
 
const Tcp.defaultRxBufSize
Configuration settings
const Tcp.defaultRxBufSize = 8192;
 
 
const Tcp.defaultTxBufSize
Configuration settings
const Tcp.defaultTxBufSize = 8192;
 
 
config Tcp.keepIdleTime  // module-wide

Amount of time to allow socket to idle. Only affects sockets specified with SO_KEEPALIVE value

Configuration settings
Tcp.keepIdleTime = Int Tcp.defaultKeepIdleTime;
 
DETAILS
Time units for this value are in 0.1 seconds.
 
config Tcp.keepProbeInterval  // module-wide

Time interval specifying the amount of time in between TCP KEEP probes Only affects sockets specified with SO_KEEPALIVE value

Configuration settings
Tcp.keepProbeInterval = Int Tcp.defaultKpProbIntv;
 
DETAILS
Used to determine if socket should be kept open. Time units for this value are in 0.1 seconds.
 
config Tcp.keepProbeTimeout  // module-wide

Time TCP will continue to send unanswered KEEP probes before timing out the connection

Configuration settings
Tcp.keepProbeTimeout = Int Tcp.defaultKpProbTimeout;
 
DETAILS
Time units for this value are in 0.1 seconds.
 
config Tcp.maxNumReasmPkts  // module-wide

Specifies the maximum number of reassembly packets allowed per TCP socket

Configuration settings
Tcp.maxNumReasmPkts = Int Tcp.defaultMaxReasmPkts;
 
 
config Tcp.receiveBufLimit  // module-wide

Sets the max number of cumulative bytes in packet buffers that can be queued up at any given TCP based socket (non-copy mode)

Configuration settings
Tcp.receiveBufLimit = Int Tcp.defaultRxBufLimit;
 
 
config Tcp.receiveBufSize  // module-wide

Sets the size of the TCP receive buffer (copy mode)

Configuration settings
Tcp.receiveBufSize = Int Tcp.defaultRxBufSize;
 
 
config Tcp.transmitBufSize  // module-wide

Sets the size of the TCP send buffer

Configuration settings
Tcp.transmitBufSize = Int Tcp.defaultTxBufSize;
 
generated on Tue, 25 Aug 2020 01:58:55 GMT