CONFIG_NET_CONTEXT_SYNC_RECV

Support synchronous functionality in net_context_recv() API

Type: bool

Help

You can disable sync support to save some memory if you are calling
net_context_recv() in async way only when timeout is set to 0.

Direct dependencies

!NET_RAW_MODE && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:39<Zephyr>/subsys/net/Kconfig:83

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack

config NET_CONTEXT_SYNC_RECV
    bool "Support synchronous functionality in net_context_recv() API"
    default y
    depends on !NET_RAW_MODE && NETWORKING
    help
      You can disable sync support to save some memory if you are calling
      net_context_recv() in async way only when timeout is set to 0.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)