| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 44a9b10 commit 8e45c9d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -197,12 +197,12 @@ drop membership on all valid interfaces. | |||
| 197 | 197 | Broadcasts a datagram on the socket. The destination `port` and `address` must | |
| 198 | 198 | be specified. | |
| 199 | 199 | ||
| 200 | - The `msg` argument containins the message to be sent. | ||
| 200 | + The `msg` argument contains the message to be sent. | ||
| 201 | 201 | Depending on its type, different behavior can apply. If `msg` is a `Buffer`, | |
| 202 | 202 | the `offset` and `length` specify the offset within the `Buffer` where the | |
| 203 | 203 | message begins and the number of bytes in the message, respectively. | |
| 204 | 204 | If `msg` is a `String`, then it is automatically converted to a `Buffer` | |
| 205 | - with `'utf8'` enecoding. With messages that | ||
| 205 | + with `'utf8'` encoding. With messages that | ||
| 206 | 206 | contain multi-byte characters, `offset` and `length` will be calculated with | |
| 207 | 207 | respect to [byte length][] and not the character position. | |
| 208 | 208 | If `msg` is an array, `offset` and `length` must not be specified. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments