There was an error while loading. Please reload this page.
1 parent c286592 commit add2851Copy full SHA for add2851
1 file changed
doc/api/net.md
@@ -1688,10 +1688,11 @@ added: v0.5.0
1688
1689
This property represents the state of the connection as a string.
1690
1691
-* If the stream is connecting `socket.readyState` is `opening`.
1692
-* If the stream is readable and writable, it is `open`.
1693
-* If the stream is readable and not writable, it is `readOnly`.
1694
-* If the stream is not readable and writable, it is `writeOnly`.
+* If the socket is connecting, `socket.readyState` is `opening`.
+* If the socket is readable and writable, it is `open`.
+* If the socket is readable and not writable, it is `readOnly`.
+* If the socket is not readable and writable, it is `writeOnly`.
1695
+* Otherwise, it is `closed`.
1696
1697
## Class: `net.BoundSocket`
1698
0 commit comments