From c41dbf5bc7e4598f89a309d399cc95a3d8cfb560 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 20 Jun 2019 13:59:12 -0600 Subject: [PATCH] doc: remove "note that" from dgram.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs: https://github.com/nodejs/remark-preset-lint-node/pull/16 PR-URL: https://github.com/nodejs/node/pull/28329 Reviewed-By: Gus Caplan Reviewed-By: Trivikram Kamat Reviewed-By: Tobias Nießen Reviewed-By: Ruben Bridgewater --- doc/api/dgram.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/dgram.md b/doc/api/dgram.md index 1d815ba56b338b..d0af318117863a 100644 --- a/doc/api/dgram.md +++ b/doc/api/dgram.md @@ -149,7 +149,7 @@ attempt to listen on all addresses. Once binding is complete, a `'listening'` event is emitted and the optional `callback` function is called. -Note that specifying both a `'listening'` event listener and passing a +Specifying both a `'listening'` event listener and passing a `callback` to the `socket.bind()` method is not harmful but not very useful. @@ -209,7 +209,7 @@ than `0` is set, it will wrap around an existing socket with the given file descriptor. In this case, the properties of `port` and `address` will be ignored. -Note that specifying both a `'listening'` event listener and passing a +Specifying both a `'listening'` event listener and passing a `callback` to the `socket.bind()` method is not harmful but not very useful. @@ -387,7 +387,7 @@ is assigned a random port number and is bound to the "all interfaces" address An optional `callback` function may be specified to as a way of reporting DNS errors or for determining when it is safe to reuse the `buf` object. -Note that DNS lookups delay the time to send for at least one tick of the +DNS lookups delay the time to send for at least one tick of the Node.js event loop. The only way to know for sure that the datagram has been sent is by using a