Zen API | Contents | Reference | Previous | Up | Next

zSocket_SetNoDelay
zSocket functions
C

    zStatus zSocket_SetNoDelay(zSocket socket, zBool noDelay);

Parameters

Parameters | Description
zSocket socket | zSocket object.
broadcast | zTRUE to disable the Nagle algorithm; zFALSE to enable.

Description

Can be used to disable the Nagle algorithm.

Remarks

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.

File

zSocket.h

Copyright (c) 2008-2010 by LMI Technologies Inc. All rights reserved.
Contents | Reference