@@ -258,13 +258,15 @@ an [IPC][] server depending on what it listens to.
258
258
259
259
Possible signatures:
260
260
261
+ <!-- lint disable no-undefined-references-->
261
262
* [ ` server.listen(handle[, backlog][, callback]) ` ] [ `server.listen(handle)` ]
262
263
* [ ` server.listen(options[, callback]) ` ] [ `server.listen(options)` ]
263
264
* [ ` server.listen(path[, backlog][, callback]) ` ] [ `server.listen(path)` ]
264
265
for [ IPC] [ ] servers
265
266
* <a href =" #net_server_listen_port_host_backlog_callback " >
266
267
<code >server.listen([ port[ , host[ , backlog]]] [ , callback ] )</code ></a >
267
268
for TCP servers
269
+ <!-- lint enable no-undefined-references-->
268
270
269
271
This function is asynchronous. When the server starts listening, the
270
272
[ ` 'listening' ` ] [ ] event will be emitted. The last parameter ` callback `
@@ -346,12 +348,14 @@ changes:
346
348
functions.
347
349
* Returns: {net.Server}
348
350
351
+ <!-- lint disable no-undefined-references-->
349
352
If ` port ` is specified, it behaves the same as
350
353
<a href =" #net_server_listen_port_host_backlog_callback " >
351
354
<code >server.listen([ port[ , host[ , backlog]]] [ , callback ] )</code ></a >.
352
355
Otherwise, if ` path ` is specified, it behaves the same as
353
356
[ ` server.listen(path[, backlog][, callback]) ` ] [ `server.listen(path)` ] .
354
357
If none of them is specified, an error will be thrown.
358
+ <!-- lint enable no-undefined-references-->
355
359
356
360
If ` exclusive ` is ` false ` (default), then cluster workers will use the same
357
361
underlying handle, allowing connection handling duties to be shared. When
0 commit comments