-
CONFIG_NET_CONTEXT_RCVTIMEO¶
Add RCVTIMEO support to net_context
Type: bool
Help¶
It is possible to time out receiving a network packet. The timeout time is configurable run-time in the application code. For network sockets timeout is configured per socket with setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, …) function.
Defaults¶
No defaults. Implicitly defaults to n.
Kconfig definition¶
At subsys/net/ip/Kconfig:555
Included via Kconfig:8 → Kconfig.zephyr:34 → subsys/Kconfig:37 → subsys/net/Kconfig:87
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack
config NET_CONTEXT_RCVTIMEO
bool "Add RCVTIMEO support to net_context"
depends on !NET_RAW_MODE && NETWORKING
help
It is possible to time out receiving a network packet. The timeout
time is configurable run-time in the application code. For network
sockets timeout is configured per socket with
setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, ...) function.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)