Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kTcpClient_SetNoDelay | ( | kTcpClient | client,
|  | kBool | noDelay
| ) |  |

Can be used to disable the Nagle algorithm.

The Nagle algorithm is enabled by default. When enabled, small segments of outbound data are coalesced over a brief time period in order to improve network efficiency.

Parameters

  client | TCP client object.
  noDelay | kTRUE to disable the Nagle algorithm; kFALSE to enable.

Returns
  Operation status.