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@1f790cb

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
@@ -1404,15 +1404,15 @@ added: v0.1.90
14041404
* `error` {Object}
14051405
* Returns: {net.Socket}
14061406

1407-
Ensures that no more I/O activity happens on this socket.
1407+
Ensures that no more I/O activity happens on the current connection.
14081408
Destroys the stream and closes the connection.
14091409

14101410
See [`writable.destroy()`][] for further details.
14111411

14121412
### `socket.destroyed`
14131413

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.
1414+
* Type: {boolean} Indicates if the connection is destroyed or not. No further
1415+
data can be transferred using a destroyed connection.
14161416

14171417
See [`writable.destroyed`][] for further details.
14181418

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.