@@ -257,7 +257,7 @@ useful.
257257A bound datagram socket keeps the Node.js process running to receive
258258datagram messages.
259259
260- If binding fails, an ` 'error' ` event is generated. In rare case (e.g.
260+ If binding fails, an ` 'error' ` event is generated. In rare cases (e.g.,
261261attempting to bind with a closed socket), an [ ` Error ` ] [ ] may be thrown.
262262
263263Example of a UDP server listening on port 41234:
@@ -350,7 +350,7 @@ is called.
350350A bound datagram socket keeps the Node.js process running to receive
351351datagram messages.
352352
353- If binding fails, an ` 'error' ` event is generated. In rare case (e.g.
353+ If binding fails, an ` 'error' ` event is generated. In rare cases (e.g.,
354354attempting to bind with a closed socket), an [ ` Error ` ] [ ] may be thrown.
355355
356356An example socket listening on an exclusive port is shown below.
@@ -592,7 +592,7 @@ to exclude the socket from the reference counting that keeps the Node.js
592592process active. The ` socket.ref() ` method adds the socket back to the reference
593593counting and restores the default behavior.
594594
595- Calling ` socket.ref() ` multiples times will have no additional effect.
595+ Calling ` socket.ref() ` multiple times will have no additional effect.
596596
597597The ` socket.ref() ` method returns a reference to the socket so calls can be
598598chained.
@@ -741,7 +741,7 @@ client.send([buf1, buf2], 41234, (err) => {
741741});
742742```
743743
744- Sending multiple buffers might be faster or slower depending on the
744+ Sending multiple buffers might be faster or slower, depending on the
745745application and operating system. Run benchmarks to
746746determine the optimal strategy on a case-by-case basis. Generally speaking,
747747however, sending multiple buffers is faster.
@@ -883,7 +883,7 @@ socket.bind(1234, () => {
883883A call on a socket that is not ready to send or no longer open may throw a _ Not
884884running_ [ ` Error ` ] [ ] .
885885
886- If ` multicastInterface ` can not be parsed into an IP then an _ EINVAL_
886+ If ` multicastInterface ` cannot be parsed into an IP then an _ EINVAL_
887887[ ` System Error ` ] [ ] is thrown.
888888
889889On IPv4, if ` multicastInterface ` is a valid address but does not match any
0 commit comments