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>
This commit is contained in:
parent
8b574d935c
commit
61ea681456
@ -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
|
`'listening'` event is emitted and the optional `callback` function is
|
||||||
called.
|
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
|
`callback` to the `socket.bind()` method is not harmful but not very
|
||||||
useful.
|
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`
|
file descriptor. In this case, the properties of `port` and `address`
|
||||||
will be ignored.
|
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
|
`callback` to the `socket.bind()` method is not harmful but not very
|
||||||
useful.
|
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
|
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.
|
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.
|
Node.js event loop.
|
||||||
|
|
||||||
The only way to know for sure that the datagram has been sent is by using a
|
The only way to know for sure that the datagram has been sent is by using a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user