GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: clarify socket destroyed behavior · nodejs/node@96b91dc

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • net.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/net.md‎

Copy file name to clipboardExpand all lines: doc/api/net.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1408,15 +1408,15 @@ added: v0.1.90
14081408
* `error` {Object}
14091409
* Returns: {net.Socket}
14101410

1411-
Ensures that no more I/O activity happens on this socket.
1411+
Ensures that no more I/O activity happens on the current connection.
14121412
Destroys the stream and closes the connection.
14131413

14141414
See [`writable.destroy()`][] for further details.
14151415

14161416
### `socket.destroyed`
14171417

1418-
* Type: {boolean} Indicates if the connection is destroyed or not. Once a
1419-
connection is destroyed no further data can be transferred using it.
1418+
* Type: {boolean} Indicates if the connection is destroyed or not. No further
1419+
data can be transferred using a destroyed connection.
14201420

14211421
See [`writable.destroyed`][] for further details.
14221422

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.