We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a26eee commit 0cbee57Copy full SHA for 0cbee57
doc/api/net.md
@@ -600,6 +600,10 @@ the error passed to the [`'error'`][] listener.
600
The last parameter `connectListener`, if supplied, will be added as a listener
601
for the [`'connect'`][] event **once**.
602
603
+This function should only be used for reconnecting a socket after
604
+`'close'` has been emitted or otherwise it may lead to undefined
605
+behavior.
606
+
607
#### `socket.connect(options[, connectListener])`
608
<!-- YAML
609
added: v0.1.90
0 commit comments