Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion lib/kernel/src/gen_udp.erl
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ message is sent to the controlling process:
`Reason` is mostly a [POSIX Error Code](`m:inet#posix-error-codes`).

If the socket is in _passive mode_ (not in an _active mode_), received data
can be retrieved with the`recv/2,3`](`recv/2`) calls. Note that incoming
can be retrieved with the [`recv/2,3`](`recv/3`) calls. Note that incoming
UDP packets that are longer than the receive buffer option specifies
can be truncated without warning.

Expand Down
8 changes: 4 additions & 4 deletions lib/kernel/src/inet.erl
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ The following four Kernel configuration parameters affect the behavior of all

- `inet_default_connect_options` can contain a list of
default options used for all sockets created by
a `gen_tcp:connect/2,3,4`](`gen_tcp:connect/2`) call.
a [`gen_tcp:connect/2,3,4`](`gen_tcp:connect/4`) call.
- `inet_default_listen_options` can contain a list of default options
used for sockets created by a `gen_tcp:listen/2` call.
used for sockets created by a [`gen_tcp:listen/2`](`gen_tcp:listen/2`) call.
- `inet_default_udp_options` can contain a list of
default options used for all sockets created by
a `gen_udp:open/1,2`](`gen_udp:open/2`) call.
a [`gen_udp:open/1,2`](`gen_udp:open/2`) call.
- `inet_default_sctp_options` can contain a list of
default options used for all sockets created by
a `gen_sctp:open/0,1`](`gen_sctp:open/1`) call.
a [`gen_sctp:open/0,1`](`gen_sctp:open/1`) call.

For the [`gen_tcp:accept/1,2`](`gen_tcp:accept/1`) call,
the values of the listening socket options are inherited.
Expand Down
Loading