diff options
author | Ingela Anderton Andin <[email protected]> | 2017-03-16 14:38:32 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2017-03-16 14:38:32 +0100 |
commit | 6a0ca45bb465150ba47d057ecd6c75681b790aab (patch) | |
tree | 6342ebf66562cf78992a9d2f08a651b707ef9928 | |
parent | bce42f4c31bf552269eb787c61a979b3fb34c87e (diff) | |
parent | 0ef9dd12e5e77d67244dca580c1a706878c272bf (diff) | |
download | otp-6a0ca45bb465150ba47d057ecd6c75681b790aab.tar.gz otp-6a0ca45bb465150ba47d057ecd6c75681b790aab.tar.bz2 otp-6a0ca45bb465150ba47d057ecd6c75681b790aab.zip |
Merge branch 'vans163/patch-1/PR-1319'
* vans163/patch-1/PR-1319:
Update inet.xml. Note buffer relation to MTU
-rw-r--r-- | lib/kernel/doc/src/inet.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/kernel/doc/src/inet.xml b/lib/kernel/doc/src/inet.xml index 4c4a5c39cb..d557efb6a8 100644 --- a/lib/kernel/doc/src/inet.xml +++ b/lib/kernel/doc/src/inet.xml @@ -659,7 +659,8 @@ get_tcpi_sacked(Sock) -> <tag><c>{buffer, Size}</c></tag> <item> <p>The size of the user-level software buffer used by - the driver. Not to be confused with options <c>sndbuf</c> + the driver. + Not to be confused with options <c>sndbuf</c> and <c>recbuf</c>, which correspond to the Kernel socket buffers. It is recommended to have <c>val(buffer) >= max(val(sndbuf),val(recbuf))</c> to @@ -670,6 +671,9 @@ get_tcpi_sacked(Sock) -> usually become larger, you are encouraged to use <seealso marker="#getopts/2"><c>getopts/2</c></seealso> to analyze the behavior of your operating system.</p> + <p>Note that this is also the maximum amount of data that can be + received from a single recv call. If you are using higher than + normal MTU consider setting buffer higher.</p> </item> <tag><c>{delay_send, Boolean}</c></tag> <item> |