mirror of https://github.com/nodejs/node.git
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
parent
acee594b6e
commit
1913909fce
|
@ -187,7 +187,7 @@ drop membership on all valid interfaces.
|
||||||
|
|
||||||
### socket.send(msg, [offset, length,] port, address[, callback])
|
### 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.
|
* `offset` {Number} Integer. Optional. Offset in the buffer where the message starts.
|
||||||
* `length` {Number} Integer. Optional. Number of bytes in the message.
|
* `length` {Number} Integer. Optional. Number of bytes in the message.
|
||||||
* `port` {Number} Integer. Destination port.
|
* `port` {Number} Integer. Destination port.
|
||||||
|
|
Loading…
Reference in New Issue