There was an error while loading. Please reload this page.
1 parent c79868f commit 00b9e59Copy full SHA for 00b9e59
1 file changed
doc/api/net.md
@@ -1452,15 +1452,15 @@ added: v0.1.90
1452
* `error` {Object}
1453
* Returns: {net.Socket}
1454
1455
-Ensures that no more I/O activity happens on this socket.
+Ensures that no more I/O activity happens on the current connection.
1456
Destroys the stream and closes the connection.
1457
1458
See [`writable.destroy()`][] for further details.
1459
1460
### `socket.destroyed`
1461
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.
+* Type: {boolean} Indicates if the connection is destroyed or not. No further
+ data can be transferred using a destroyed connection.
1464
1465
See [`writable.destroyed`][] for further details.
1466
0 commit comments