Zen API
 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
socketSocket object.
noDelaykTRUE to disable the Nagle algorithm; kFALSE to enable.
Returns
Operation status.