| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent eb55462 commit 59b36af
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -599,10 +599,12 @@ be an array of objects with the following properties: | |||
| 599 | 599 | added: v0.1.27 | |
| 600 | 600 | --> | |
| 601 | 601 | ||
| 602 | + <!--lint disable no-undefined-references--> | ||
| 602 | 603 | * `hostname` {string} | |
| 603 | 604 | * `callback` {Function} | |
| 604 | 605 | * `err` {Error} | |
| 605 | 606 | * `records` <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type" class="type"><string[][]></a> | |
| 607 | + <!--lint enable no-undefined-references--> | ||
| 606 | 608 | ||
| 607 | 609 | Uses the DNS protocol to resolve text queries (`TXT` records) for the | |
| 608 | 610 | `hostname`. The `records` argument passed to the `callback` function is a | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -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 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments