[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH: add support for TCP_NODELAY on network streams
From: |
Eli Zaretskii |
Subject: |
Re: PATCH: add support for TCP_NODELAY on network streams |
Date: |
Wed, 11 Dec 2024 17:37:15 +0200 |
> Date: Wed, 11 Dec 2024 11:51:27 +0100
> From: Eric Marsden <eric.marsden@risk-engineering.org>
>
> The attached patch adds support for the socket option TCP_NODELAY,
> to disable Nagle's algorithm. This means that network segments are
> sent as soon as possible, even when they contain little data. This
> reduces network latency on the network connection, but can lead to
> many small packets being sent.
Thanks, but please in the future send patches to the bug tracker (we
have a submit-emacs-patch command for that).
> +@item :nodelay @var{nodelay-flag}
> +If @var{nodelay-flag} is non-@code{nil}, the @code{TCP_NODELAY} option
> +is enabled on the socket. This disables the Nagle algorithm, meaning
> +that network segments are sent as soon as possible, even when they
> +contain little data. This reduces network latency on the network
> +connection, but can lead to many small packets being sent.
Our conventions are to leave two spaces between sentences.