@@ -192,7 +192,7 @@ 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+ * [`server.listen([[[ port[, hostname [, backlog]] ][, callback])`][`server.listen(port, host)`]
196196 for TCP servers
197197
198198This function is asynchronous. When the server starts listening, the
@@ -264,7 +264,7 @@ added: v0.11.14
264264* Returns: {net.Server}
265265
266266If `port` is specified, it behaves the same as
267- [`server.listen([port] [, hostname] [, backlog][, callback])`][`server.listen(port, host)`].
267+ [`server.listen([[[ port[, hostname[, backlog]] ][, callback])`][`server.listen(port, host)`].
268268Otherwise, if `path` is specified, it behaves the same as
269269[`server.listen(path[, backlog][, callback])`][`server.listen(path)`].
270270If none of them is specified, an error will be thrown.
0 commit comments