From 1913909fce5866b0ded1e3108766e6e7b0579f24 Mon Sep 17 00:00:00 2001 From: Chris Dew Date: Fri, 26 Feb 2016 10:02:44 +0000 Subject: [PATCH] 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 Reviewed-By: Colin Ihrig Reviewed-By: Roman Reiss --- doc/api/dgram.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/dgram.markdown b/doc/api/dgram.markdown index fc6e256c70b..d6aa1e36f01 100644 --- a/doc/api/dgram.markdown +++ b/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.