Skip to content

Commit b70cdcf

Browse files
committed
fixup: add note regarding TCP rst
1 parent f63e0c9 commit b70cdcf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/net.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,8 @@ added: v0.1.90
730730
* `error` {Object}
731731
* Returns: {net.Socket}
732732

733-
Ensures that no more I/O activity happens on this socket.
733+
Ensures that no more I/O activity happens on this socket. This destroys
734+
the stream but does not explicitly cause a TCP stream reset (RST).
734735

735736
See, [`writable.destroy()`][] for further details.
736737

0 commit comments

Comments
 (0)