There was an error while loading. Please reload this page.
1 parent 14b4a16 commit 1f790cbCopy full SHA for 1f790cb
1 file changed
doc/api/net.md
@@ -1404,15 +1404,15 @@ added: v0.1.90
1404
* `error` {Object}
1405
* Returns: {net.Socket}
1406
1407
-Ensures that no more I/O activity happens on this socket.
+Ensures that no more I/O activity happens on the current connection.
1408
Destroys the stream and closes the connection.
1409
1410
See [`writable.destroy()`][] for further details.
1411
1412
### `socket.destroyed`
1413
1414
-* Type: {boolean} Indicates if the connection is destroyed or not. Once a
1415
- 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.
1416
1417
See [`writable.destroyed`][] for further details.
1418
0 commit comments