Skip to content

Commit 261776d

Browse files
vsemozhetbytMylesBorins
authored andcommitted
doc: mitigate marked bug
PR-URL: #20411 Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 54e9331 commit 261776d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/api/net.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ Possible signatures:
192192
* [`server.listen(options[, callback])`][`server.listen(options)`]
193193
* [`server.listen(path[, backlog][, callback])`][`server.listen(path)`]
194194
for [IPC][] servers
195-
* [`server.listen([port[, host[, backlog]]][, callback])`][`server.listen(port, host)`]
195+
* <a href="#net_server_listen_port_host_backlog_callback">
196+
<code>server.listen([port[, host[, backlog]]][, callback])</code></a>
196197
for TCP servers
197198

198199
This function is asynchronous. When the server starts listening, the
@@ -264,7 +265,8 @@ added: v0.11.14
264265
* Returns: {net.Server}
265266

266267
If `port` is specified, it behaves the same as
267-
[`server.listen([port[, host[, backlog]]][, callback])`][`server.listen(port, host)`].
268+
<a href="#net_server_listen_port_host_backlog_callback">
269+
<code>server.listen([port[, host[, backlog]]][, callback])</code></a>.
268270
Otherwise, if `path` is specified, it behaves the same as
269271
[`server.listen(path[, backlog][, callback])`][`server.listen(path)`].
270272
If none of them is specified, an error will be thrown.
@@ -1136,7 +1138,6 @@ Returns `true` if input is a version 6 IP address, otherwise returns `false`.
11361138
[`server.listen(handle)`]: #net_server_listen_handle_backlog_callback
11371139
[`server.listen(options)`]: #net_server_listen_options_callback
11381140
[`server.listen(path)`]: #net_server_listen_path_backlog_callback
1139-
[`server.listen(port, host)`]: #net_server_listen_port_host_backlog_callback
11401141
[`socket.connect()`]: #net_socket_connect
11411142
[`socket.connect(options)`]: #net_socket_connect_options_connectlistener
11421143
[`socket.connect(path)`]: #net_socket_connect_path_connectlistener

0 commit comments

Comments
 (0)