File 7761-kernel-Adjust-documentation-of-inet-option-reuseaddr.patch of Package erlang
From b7e0e409bb2dc62ce3e9d6980a4b5da9a19ef8d0 Mon Sep 17 00:00:00 2001
From: Rickard Green <rickard@erlang.org>
Date: Tue, 29 Nov 2022 22:00:09 +0100
Subject: [PATCH] [kernel] Adjust documentation of inet option reuseaddr
---
lib/kernel/doc/src/inet.xml | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/lib/kernel/doc/src/inet.xml b/lib/kernel/doc/src/inet.xml
index 0fe3c00659..0dac35f9a9 100644
--- a/lib/kernel/doc/src/inet.xml
+++ b/lib/kernel/doc/src/inet.xml
@@ -1569,17 +1569,14 @@ setcap cap_sys_admin,cap_sys_ptrace,cap_dac_read_search+epi beam.smp</code>
<tag><c>{reuseaddr, Boolean}</c></tag>
<item>
<p>
- Allows or disallows local reuse of port numbers. By
+ Allows or disallows local reuse of address. By
default, reuse is disallowed.
</p>
<note><p>
On Windows this option will be ignored unless
<c><anno>Socket</anno></c> is an UDP socket. This since the
behavior of <c>reuseaddr</c> is very different on Windows
- compared to other system. The Windows behavior makes its use
- dangerous, and there probably are no useful use-cases in the
- non-UDP cases either. However, in the UDP case on Windows there
- are useful use-cases.
+ compared to other system.
</p></note>
</item>
<tag><c>{send_timeout, Integer}</c></tag>
--
2.35.3