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: fix socket.readyState state descriptions · nodejs/node@bced143

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
+5-4Lines changed: 5 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1678,10 +1678,11 @@ added: v0.5.0
16781678

16791679
This property represents the state of the connection as a string.
16801680

1681-
* If the stream is connecting `socket.readyState` is `opening`.
1682-
* If the stream is readable and writable, it is `open`.
1683-
* If the stream is readable and not writable, it is `readOnly`.
1684-
* If the stream is not readable and writable, it is `writeOnly`.
1681+
* If the socket is connecting, `socket.readyState` is `opening`.
1682+
* If the socket is readable and writable, it is `open`.
1683+
* If the socket is readable and not writable, it is `readOnly`.
1684+
* If the socket is not readable and writable, it is `writeOnly`.
1685+
* Otherwise, it is `closed`.
16851686

16861687
## Class: `net.BoundSocket`
16871688

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.