This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 659e715deb1b40d1d52c9df2dee100193c0ff6b6 Author: Marco Casaroli <[email protected]> AuthorDate: Tue Nov 3 12:01:03 2026 +0100 Documentation: EPIPE from sendto() after the peer closed the connection. A send on a stream socket also fails with EPIPE (and raises SIGPIPE) when the peer closed the connection, not only after a local shutdown. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <[email protected]> --- Documentation/reference/user/11_network.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/reference/user/11_network.rst b/Documentation/reference/user/11_network.rst index 88033b4b832..fc74c5fd7ac 100644 --- a/Documentation/reference/user/11_network.rst +++ b/Documentation/reference/user/11_network.rst @@ -305,8 +305,8 @@ the following paragraphs. - ``EOPNOTSUPP``. Some bit in the flags argument is inappropriate for the socket type. - ``EPIPE``. The local end has been shut down on a connection oriented - socket. In this case the process will also receive a SIGPIPE unless - MSG_NOSIGNAL is set. + socket, or the peer closed the connection. In this case the process + will also receive a SIGPIPE unless MSG_NOSIGNAL is set. .. c:function:: ssize_t recv(int sockfd, void *buf, size_t len, int flags);
