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 d36ca1e32bad0917e66ab9c93101faa98f6f7e6b
Author: Marco Casaroli <[email protected]>
AuthorDate: Sat Nov 21 14:33:02 2026 +0100

    Documentation/reference/user: Describe connect() after SO_SNDTIMEO.
    
    A blocking connect() gives EINPROGRESS when the send timeout of the
    socket expires before the handshake completes.  The connection goes on.
    
    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, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/reference/user/11_network.rst 
b/Documentation/reference/user/11_network.rst
index 3823432772b..e286f2faf2f 100644
--- a/Documentation/reference/user/11_network.rst
+++ b/Documentation/reference/user/11_network.rst
@@ -150,7 +150,9 @@ the following paragraphs.
   space.
 
   ``EINPROGRESS`` The socket is non-blocking and the connection cannot be
-  completed immediately.
+  completed immediately, or the send timeout of the socket
+  (``SO_SNDTIMEO``) expired first.  The connection goes on: ``poll()``
+  reports ``POLLOUT`` when it completes.
 
   ``EINTR`` The system call was interrupted by a signal that was caught.
 

Reply via email to