Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

Commit

Permalink
doc: fix dgram.md typos
Browse files Browse the repository at this point in the history
socket.getRecvBufferSize() and socket.getSendBufferSize()
do not take any parameter

PR-URL: nodejs/node#16183
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
  • Loading branch information
Loghorn authored and addaleax committed Oct 15, 2017
1 parent 89ebfc0 commit 671bfbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/dgram.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-->
Expand Down

0 comments on commit 671bfbf

Please sign in to comment.