diff options
author | Rich Trott <rtrott@gmail.com> | 2019-06-20 13:59:12 -0600 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-06-23 07:09:54 -0700 |
commit | 61ea6814567b5007e5ec0eb867b662282134a925 (patch) | |
tree | f6ff8c8b412db83bf00bcfe44a9ecb6b85943515 /doc/api/dgram.md | |
parent | 8b574d935cacbabe7ae47f73011d665ccf3d2d76 (diff) | |
download | android-node-v8-61ea6814567b5007e5ec0eb867b662282134a925.tar.gz android-node-v8-61ea6814567b5007e5ec0eb867b662282134a925.tar.bz2 android-node-v8-61ea6814567b5007e5ec0eb867b662282134a925.zip |
doc: remove "note that" from dgram.md
Refs: https://github.com/nodejs/remark-preset-lint-node/pull/16
PR-URL: https://github.com/nodejs/node/pull/28329
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/dgram.md')
-rw-r--r-- | doc/api/dgram.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/dgram.md b/doc/api/dgram.md index 1d815ba56b..d0af318117 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 |