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 Subsystem>/net/ip/Kconfig:538

Included via Kconfig:8Kconfig.zephyr:44<Zephyr Subsystem>/Kconfig:39<Zephyr Subsystem>/net/Kconfig:87

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.)