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.

Direct dependencies

!NET_RAW_MODE && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/subsys/net/ip/Kconfig:555

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:37<Zephyr>/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.)