We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 858a42e commit ce3cf0dCopy full SHA for ce3cf0d
doc/api/net.md
@@ -659,11 +659,12 @@ added: v6.1.0
659
-->
660
661
If `true`,
662
+[`socket.connect(options[, connectListener])`][`socket.connect(options)`] was
663
+called and has not yet finished. It will stay `true` until the socket becomes
664
+connected, then it is set to `false` and the `'connect'` event is emitted. Note
665
+that the
666
[`socket.connect(options[, connectListener])`][`socket.connect(options)`]
-was called and has not yet finished. Will be set to `true` before emitting
-`'connect'` event and/or calling
-[`socket.connect(options[, connectListener])`][`socket.connect(options)`]'s
-callback.
667
+callback is a listener for the `'connect'` event.
668
669
### socket.destroy([exception])
670
<!-- YAML
0 commit comments