Browse Source

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>
v5.x
Chris Dew 9 years ago
committed by Rod Vagg
parent
commit
3bfe0483f0
  1. 2
      doc/api/dgram.markdown

2
doc/api/dgram.markdown

@ -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.

Loading…
Cancel
Save