Skip to content

Commit 1913909

Browse files
chrisdewsilverwind
authored andcommitted
doc: corrected name of argument in socket.send
Corrected name of "msg" argument from "buf" to "msg". PR-URL: #5449 Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent acee594 commit 1913909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/dgram.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ drop membership on all valid interfaces.
187187

188188
### socket.send(msg, [offset, length,] port, address[, callback])
189189

190-
* `buf` {Buffer|String|Array} Message to be sent
190+
* `msg` {Buffer|String|Array} Message to be sent
191191
* `offset` {Number} Integer. Optional. Offset in the buffer where the message starts.
192192
* `length` {Number} Integer. Optional. Number of bytes in the message.
193193
* `port` {Number} Integer. Destination port.

0 commit comments

Comments
 (0)