diff options
author | Micael Karlberg <[email protected]> | 2018-09-28 18:40:08 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2018-09-28 18:40:08 +0200 |
commit | 1c412c62ba3be17b7a818f264049a7ee7942351e (patch) | |
tree | 675494d373a04c6b15ff0fc19b24725d5f95c986 /erts/doc/src/socket_usage.xml | |
parent | 0b56a98366fc152c0fa5d5398220ac31866114d5 (diff) | |
download | otp-1c412c62ba3be17b7a818f264049a7ee7942351e.tar.gz otp-1c412c62ba3be17b7a818f264049a7ee7942351e.tar.bz2 otp-1c412c62ba3be17b7a818f264049a7ee7942351e.zip |
[socket-nif] Add support for socket (level otp) buffer options
Add support for otp level socket options rcvbuf, rcvctrlbuf and
sndctrlbuf. These options define default sizes for these
buffers.
The 'rcvbuf' is used when receiving messages when calling
the recv, recvfrom and recvmsg functions.
The 'rcvctrlbuf' is used for the control message header info
when calling the recvmsg function.
The 'sndctrlbuf' is used for the control message header info
when calling the sendmsg function.
OTP-14831
Diffstat (limited to 'erts/doc/src/socket_usage.xml')
-rw-r--r-- | erts/doc/src/socket_usage.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/erts/doc/src/socket_usage.xml b/erts/doc/src/socket_usage.xml index 9785830637..23d0f319f1 100644 --- a/erts/doc/src/socket_usage.xml +++ b/erts/doc/src/socket_usage.xml @@ -81,6 +81,27 @@ <cell>yes</cell> <cell>none</cell> </row> + <row> + <cell>rcvbuf</cell> + <cell>default | pos_integer()</cell> + <cell>yes</cell> + <cell>yes</cell> + <cell>default only valid for set</cell> + </row> + <row> + <cell>rcvctrlbuf</cell> + <cell>default | pos_integer()</cell> + <cell>yes</cell> + <cell>yes</cell> + <cell>default only valid for set</cell> + </row> + <row> + <cell>sndctrlbuf</cell> + <cell>default | pos_integer()</cell> + <cell>yes</cell> + <cell>yes</cell> + <cell>default only valid for set</cell> + </row> </table> <p>Options for level <c>socket</c>: </p> |