@@ -257,7 +257,7 @@ useful. |
257 | 257 | A bound datagram socket keeps the Node.js process running to receive |
258 | 258 | datagram messages. |
259 | 259 |
|
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., |
261 | 261 | attempting to bind with a closed socket), an [`Error`][] may be thrown. |
262 | 262 |
|
263 | 263 | Example of a UDP server listening on port 41234: |
@@ -350,7 +350,7 @@ is called. |
350 | 350 | A bound datagram socket keeps the Node.js process running to receive |
351 | 351 | datagram messages. |
352 | 352 |
|
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., |
354 | 354 | attempting to bind with a closed socket), an [`Error`][] may be thrown. |
355 | 355 |
|
356 | 356 | An 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 |
592 | 592 | process active. The `socket.ref()` method adds the socket back to the reference |
593 | 593 | counting and restores the default behavior. |
594 | 594 |
|
595 | | -Calling `socket.ref()` multiples times will have no additional effect. |
| 595 | +Calling `socket.ref()` multiple times will have no additional effect. |
596 | 596 |
|
597 | 597 | The `socket.ref()` method returns a reference to the socket so calls can be |
598 | 598 | chained. |
@@ -741,7 +741,7 @@ client.send([buf1, buf2], 41234, (err) => { |
741 | 741 | }); |
742 | 742 | ``` |
743 | 743 |
|
744 | | -Sending multiple buffers might be faster or slower depending on the |
| 744 | +Sending multiple buffers might be faster or slower, depending on the |
745 | 745 | application and operating system. Run benchmarks to |
746 | 746 | determine the optimal strategy on a case-by-case basis. Generally speaking, |
747 | 747 | however, sending multiple buffers is faster. |
@@ -883,7 +883,7 @@ socket.bind(1234, () => { |
883 | 883 | A call on a socket that is not ready to send or no longer open may throw a _Not |
884 | 884 | running_ [`Error`][]. |
885 | 885 |
|
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_ |
887 | 887 | [`System Error`][] is thrown. |
888 | 888 |
|
889 | 889 | On IPv4, if `multicastInterface` is a valid address but does not match any |
|