aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2018-07-20 13:00:22 +0200
committerMicael Karlberg <[email protected]>2018-09-18 14:50:18 +0200
commit75498c0dd7682bae7787c4e2cd8d2680fa2b9c45 (patch)
tree0d9dcdf630ed818b688747b566b4dfa3bb82c4c9 /erts/doc
parent3f1d17f3031b71ca6ff1f8e051859ad55e55822b (diff)
downloadotp-75498c0dd7682bae7787c4e2cd8d2680fa2b9c45.tar.gz
otp-75498c0dd7682bae7787c4e2cd8d2680fa2b9c45.tar.bz2
otp-75498c0dd7682bae7787c4e2cd8d2680fa2b9c45.zip
[socket-nif] Add support for socket (level socket) option(s) [rcv|snd]lowat
Added support for socket level socket option RCVLOWAT and SNDLOWAT. These are both a little strange, at least on Linux. See the man pages for more info. For instance, sndlowat cannot be set on Linux. OTP-14831
Diffstat (limited to 'erts/doc')
-rw-r--r--erts/doc/src/socket_usage.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/erts/doc/src/socket_usage.xml b/erts/doc/src/socket_usage.xml
index 221561c3e2..9ea585694d 100644
--- a/erts/doc/src/socket_usage.xml
+++ b/erts/doc/src/socket_usage.xml
@@ -180,6 +180,13 @@
<cell>none</cell>
</row>
<row>
+ <cell>rcvlowat</cell>
+ <cell>non_neg_integer()</cell>
+ <cell>yes</cell>
+ <cell>yes</cell>
+ <cell>none</cell>
+ </row>
+ <row>
<cell>rcvtimeo</cell>
<cell>timeval()</cell>
<cell>yes</cell>
@@ -202,12 +209,19 @@
</row>
<row>
<cell>sndbuf</cell>
- <cell>integer()</cell>
+ <cell>non_neg_integer()</cell>
<cell>yes</cell>
<cell>yes</cell>
<cell>none</cell>
</row>
<row>
+ <cell>sndlowat</cell>
+ <cell>non_neg_integer()</cell>
+ <cell>yes</cell>
+ <cell>yes</cell>
+ <cell>not changeable on Linux</cell>
+ </row>
+ <row>
<cell>sndtimeo</cell>
<cell>timeval()</cell>
<cell>yes</cell>