diff options
author | Alessandro Vergani <alessandro.vergani@gmail.com> | 2017-10-13 18:04:13 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2017-10-18 09:32:14 +0300 |
commit | c9be3a29de85591e4e2ff4043f88a9373f344db6 (patch) | |
tree | 918d2cc3d738d70f286f9456e43b0816bd9086ef /doc | |
parent | 24a0761e0a0bffe1b5ee8c14348e658cc1230678 (diff) |
doc: fix dgram.md typos
socket.getRecvBufferSize() and socket.getSendBufferSize()
do not take any parameter
PR-URL: https://github.com/nodejs/node/pull/16183
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/dgram.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/dgram.md b/doc/api/dgram.md index 290e2ebff58..980537640f6 100644 --- a/doc/api/dgram.md +++ b/doc/api/dgram.md @@ -226,14 +226,14 @@ never have reason to call this. If `multicastInterface` is not specified, the operating system will attempt to drop membership on all valid interfaces. -### socket.getRecvBufferSize(size) +### socket.getRecvBufferSize() <!-- YAML added: v8.7.0 --> * Returns {number} the `SO_RCVBUF` socket receive buffer size in bytes. -### socket.getSendBufferSize(size) +### socket.getSendBufferSize() <!-- YAML added: v8.7.0 --> |