File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -197,12 +197,12 @@ drop membership on all valid interfaces.
197197Broadcasts a datagram on the socket. The destination ` port ` and ` address ` must
198198be specified.
199199
200- The ` msg ` argument containins the message to be sent.
200+ The ` msg ` argument contains the message to be sent.
201201Depending on its type, different behavior can apply. If ` msg ` is a ` Buffer ` ,
202202the ` offset ` and ` length ` specify the offset within the ` Buffer ` where the
203203message begins and the number of bytes in the message, respectively.
204204If ` 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
206206contain multi-byte characters, ` offset ` and ` length ` will be calculated with
207207respect to [ byte length] [ ] and not the character position.
208208If ` msg ` is an array, ` offset ` and ` length ` must not be specified.
You can’t perform that action at this time.
0 commit comments