10000 Document the default buffer sizes by bmk · Pull Request #9855 · erlang/otp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Document the default buffer sizes #9855

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lib/kernel/src/inet.erl
Original file line number Diff line number Diff line change
Expand Up @@ -998,6 +998,9 @@ The following options are available:
single recv call. If you are using higher than normal MTU consider setting
buffer higher.
For SCTP, defaults to 65536.
For TCP and UDP, defaults to 1460.
- **`{delay_send, Boolean}`** - Normally, when an Erlang process sends to a
socket, the driver tries to send the data immediately. If that fails, the
driver uses any means available to queue up the message to be sent whenever
Expand Down Expand Up @@ -1336,6 +1339,9 @@ The following options are available:
You are encouraged to use `getopts/2` to retrieve the size
set by your operating system.
For SCTP, defaults to 1024.
For UDP, defaults to 8K.
- **`{recvtclass, Boolean}`** [](){: #option-recvtclass } -
If set to `true` activates returning the received `TCLASS` value
on platforms that implements the protocol `IPPROTO_IPV6` option
Expand Down Expand Up @@ -1493,6 +1499,8 @@ The following options are available:
You are encouraged to use `getopts/2`, to retrieve the size
set by your operating system.
For SCTP, defaults to 65536.
- **`{priority, Integer}`** - Sets the `SO_PRIORITY` socket level option on
platforms where this is implemented. The behavior and allowed range varies
between different systems. The option is ignored on platforms where it is not
Expand Down
Loading
0