doc: corrected name of argument in socket.send

Corrected name of "msg" argument from "buf" to "msg".

PR-URL: https://github.com/nodejs/node/pull/5449
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
pull/5449/merge
Chris Dew 2016-02-26 10:02:44 +00:00 committed by Roman Reiss
parent acee594b6e
commit 1913909fce
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ drop membership on all valid interfaces.
### socket.send(msg, [offset, length,] port, address[, callback])
* `buf` {Buffer|String|Array} Message to be sent
* `msg` {Buffer|String|Array} Message to be sent
* `offset` {Number} Integer. Optional. Offset in the buffer where the message starts.
* `length` {Number} Integer. Optional. Number of bytes in the message.
* `port` {Number} Integer. Destination port.