#include <dolphin/ip.h>
s32 TCPControlNagle( TCPInfo* info, BOOL enable );
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.
info |
Pointer to TCPInfo to control. |
enable |
Specify TRUE to enable the Nagle algorithm. FALSE
to disable the Nagle algorithm. |
IP_ERR_NONE |
Succeeded. |
IP_ERR_INVALID |
info is not a valid TCPInfo |
Nagle, J., 1984 "Congestion Control in IP/TCP Internetworks", RFC 896 (Jan.).