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>
This commit is contained in:
Chris Dew authored and Rod Vagg committed 2016-02-28 12:41:47 +11:00
1 parent c8725f5e95
commit 3bfe0483f0
1 file changed
+1 -1
+1 -1
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.