File 0810-Rephrase-socket-options-docs.patch of Package erlang
From b591899de23a37fd07b0da7e7e500fedd4c15802 Mon Sep 17 00:00:00 2001
From: victor23k <victorfdez.f@gmail.com>
Date: Thu, 26 Dec 2024 12:25:53 -0400
Subject: [PATCH] Rephrase socket options docs
---
lib/kernel/src/inet.erl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/kernel/doc/src/inet.xml b/lib/kernel/doc/src/inet.xml
index ba1d303c1f..89dd766493 100644
--- a/lib/kernel/doc/src/inet.xml
+++ b/lib/kernel/doc/src/inet.xml
@@ -1054,11 +1054,11 @@ get_tcpi_sacked(Sock) ->
<p>Use active mode only if
your high-level protocol provides its own flow control
(for example, acknowledging received messages) or the
- amount of data exchanged is small. <c>{active, false}</c>
- mode, use of the <c>{active, once}</c> mode, or <c>{active, N}</c>
- mode with values of <c>N</c> appropriate for the application
- provides flow control. The other side cannot send
- faster than the receiver can read.</p>
+ amount of data exchanged is small. Using <c>{active, false}</c>
+ mode, <c>{active, once}</c> mode, or <c>{active, N}</c> mode with
+ values of <c>N</c> appropriate for the application to provide
+ flow control, ensures the other side cannot send faster than the
+ receiver can read.</p>
<marker id="option-broadcast"></marker>
</item>
<tag><c>{broadcast, Boolean}</c> (UDP sockets)</tag>
--
2.43.0