diff --git a/doc/api/dns.md b/doc/api/dns.md index 9b09199660ce7a..3d1494cc91afbb 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -558,10 +558,12 @@ be an array of objects with the following properties: added: v0.1.27 --> + * `hostname` {string} * `callback` {Function} * `err` {Error} * `records` <string[][]> + Uses the DNS protocol to resolve text queries (`TXT` records) for the `hostname`. The `records` argument passed to the `callback` function is a diff --git a/doc/api/net.md b/doc/api/net.md index 103a462bc66e20..ea8d670a7eeb64 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -194,6 +194,7 @@ an [IPC][] server depending on what it listens to. Possible signatures: + * [`server.listen(handle[, backlog][, callback])`][`server.listen(handle)`] * [`server.listen(options[, callback])`][`server.listen(options)`] * [`server.listen(path[, backlog][, callback])`][`server.listen(path)`] @@ -201,6 +202,7 @@ Possible signatures: * server.listen([port[, host[, backlog]]][, callback]) for TCP servers + This function is asynchronous. When the server starts listening, the [`'listening'`][] event will be emitted. The last parameter `callback` @@ -282,12 +284,14 @@ changes: functions. * Returns: {net.Server} + If `port` is specified, it behaves the same as server.listen([port[, host[, backlog]]][, callback]). Otherwise, if `path` is specified, it behaves the same as [`server.listen(path[, backlog][, callback])`][`server.listen(path)`]. If none of them is specified, an error will be thrown. + If `exclusive` is `false` (default), then cluster workers will use the same underlying handle, allowing connection handling duties to be shared. When