File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -697,7 +697,7 @@ See [`net.createConnection()`][].
697697added: v21.6.0
698698-->
699699
700- * ` ip ` {number } The IP which the socket is attempting to connect to.
700+ * ` ip ` {string } The IP which the socket is attempting to connect to.
701701* ` port ` {number} The port which the socket is attempting to connect to.
702702* ` family ` {number} The family of the IP. It can be ` 6 ` for IPv6 or ` 4 ` for IPv4.
703703
@@ -710,7 +710,7 @@ if the family autoselection algorithm is enabled in [`socket.connect(options)`][
710710added: v21.6.0
711711-->
712712
713- * ` ip ` {number } The IP which the socket attempted to connect to.
713+ * ` ip ` {string } The IP which the socket attempted to connect to.
714714* ` port ` {number} The port which the socket attempted to connect to.
715715* ` family ` {number} The family of the IP. It can be ` 6 ` for IPv6 or ` 4 ` for IPv4.
716716 \* ` error ` {Error} The error associated with the failure.
@@ -724,7 +724,7 @@ if the family autoselection algorithm is enabled in [`socket.connect(options)`][
724724added: v21.6.0
725725-->
726726
727- * ` ip ` {number } The IP which the socket attempted to connect to.
727+ * ` ip ` {string } The IP which the socket attempted to connect to.
728728* ` port ` {number} The port which the socket attempted to connect to.
729729* ` family ` {number} The family of the IP. It can be ` 6 ` for IPv6 or ` 4 ` for IPv4.
730730
You can’t perform that action at this time.
0 commit comments