Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kSocket_SetNoDelay | ( | kSocket | socket,
|  | 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

  socket | Socket object.
  noDelay | kTRUE to disable the Nagle algorithm; kFALSE to enable.

Returns
  Operation status.