Skip to content

Commit 27070c9

Browse files
committed
doc: clarify socket destroyed behavior
Signed-off-by: Dayun <dlekdbs6530@gmail.com>
1 parent c79868f commit 27070c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/api/net.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,8 +1459,8 @@ See [`writable.destroy()`][] for further details.
14591459

14601460
### `socket.destroyed`
14611461

1462-
* Type: {boolean} Indicates if the connection is destroyed or not. Once a
1463-
connection is destroyed no further data can be transferred using it.
1462+
* Type: {boolean} Indicates if the connection is destroyed or not. A destroyed
1463+
socket cannot transfer data until it is reconnected with `socket.connect()`.
14641464

14651465
See [`writable.destroyed`][] for further details.
14661466

0 commit comments

Comments
 (0)