diff --git a/ncat/docs/ncat.xml b/ncat/docs/ncat.xml index c81e72bc5..91a497434 100644 --- a/ncat/docs/ncat.xml +++ b/ncat/docs/ncat.xml @@ -262,7 +262,7 @@ , - (Accept multiple connections) + (Accept multiple connections, do not quit on socket EOF) (Ncat option) (Ncat option) @@ -276,6 +276,12 @@ until interrupted. This also means that it will never close its output stream, so any program reading from Ncat and looking for end-of-file will also hang. + In connect mode, the option has a different + meaning: when the remote end of a TCP connection shuts down its side + of the connection, Ncat will keep running and sending any available + data. This was the default behavior in Ncat 7.95 and earlier, but it + was changed to better align with existing netcat implementations. TCP + is the only transport that supports this option in connect mode.