@@ -194,13 +194,15 @@ an [IPC][] server depending on what it listens to.
194
194
195
195
Possible signatures:
196
196
197
+ <!-- lint disable no-undefined-references-->
197
198
* [ ` server.listen(handle[, backlog][, callback]) ` ] [ `server.listen(handle)` ]
198
199
* [ ` server.listen(options[, callback]) ` ] [ `server.listen(options)` ]
199
200
* [ ` server.listen(path[, backlog][, callback]) ` ] [ `server.listen(path)` ]
200
201
for [ IPC] [ ] servers
201
202
* <a href =" #net_server_listen_port_host_backlog_callback " >
202
203
<code >server.listen([ port[ , host[ , backlog]]] [ , callback ] )</code ></a >
203
204
for TCP servers
205
+ <!-- lint enable no-undefined-references-->
204
206
205
207
This function is asynchronous. When the server starts listening, the
206
208
[ ` 'listening' ` ] [ ] event will be emitted. The last parameter ` callback `
@@ -282,12 +284,14 @@ changes:
282
284
functions.
283
285
* Returns: {net.Server}
284
286
287
+ <!-- lint disable no-undefined-references-->
285
288
If ` port ` is specified, it behaves the same as
286
289
<a href =" #net_server_listen_port_host_backlog_callback " >
287
290
<code >server.listen([ port[ , host[ , backlog]]] [ , callback ] )</code ></a >.
288
291
Otherwise, if ` path ` is specified, it behaves the same as
289
292
[ ` server.listen(path[, backlog][, callback]) ` ] [ `server.listen(path)` ] .
290
293
If none of them is specified, an error will be thrown.
294
+ <!-- lint enable no-undefined-references-->
291
295
292
296
If ` exclusive ` is ` false ` (default), then cluster workers will use the same
293
297
underlying handle, allowing connection handling duties to be shared. When
0 commit comments