TCPControlNagle


C Specification

#include <dolphin/ip.h>

s32 TCPControlNagle( TCPInfo* info, BOOL enable );

Description

TCPControlNagle() controls the use of the Nagle algorithm to coalesce short TCP segments [RFC 896]. The Nagle algorithm is enabled on an connection by default to coalesce short TCP segments.

Arguments

info Pointer to TCPInfo to control.
enable Specify TRUE to enable the Nagle algorithm. FALSE to disable the Nagle algorithm.

Return Values

IP_ERR_NONE Succeeded.
IP_ERR_INVALID info is not a valid TCPInfo

See Also

Nagle, J., 1984 "Congestion Control in IP/TCP Internetworks", RFC 896 (Jan.).