@@ -192,7 +192,7 @@ Possible signatures:
192
192
* [ ` server.listen(options[, callback]) ` ] [ `server.listen(options)` ]
193
193
* [ ` server.listen(path[, backlog][, callback]) ` ] [ `server.listen(path)` ]
194
194
for [ IPC] [ ] servers
195
- * [ ` server.listen([[[ port[, hostname [, backlog]]][, callback]) ` ] [ `server.listen(port, host)` ]
195
+ * [ ` server.listen([port[, host [, backlog]]][, callback]) ` ] [ `server.listen(port, host)` ]
196
196
for TCP servers
197
197
198
198
This function is asynchronous. When the server starts listening, the
@@ -264,7 +264,7 @@ added: v0.11.14
264
264
* Returns: {net.Server}
265
265
266
266
If ` port ` is specified, it behaves the same as
267
- [ ` server.listen([[[ port[, hostname [, backlog]]][, callback]) ` ] [ `server.listen(port, host)` ] .
267
+ [ ` server.listen([port[, host [, backlog]]][, callback]) ` ] [ `server.listen(port, host)` ] .
268
268
Otherwise, if ` path ` is specified, it behaves the same as
269
269
[ ` server.listen(path[, backlog][, callback]) ` ] [ `server.listen(path)` ] .
270
270
If none of them is specified, an error will be thrown.
@@ -296,7 +296,7 @@ added: v0.1.90
296
296
297
297
Start a [ IPC] [ ] server listening for connections on the given ` path ` .
298
298
299
- #### server.listen([ port] [ , host ] [ , backlog] [ , callback ] )
299
+ #### server.listen([ port[ , host[ , backlog]] ][ , callback ] )
300
300
<!-- YAML
301
301
added: v0.1.90
302
302
-->
0 commit comments