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 if’s and menus.)

Defaults

Kconfig definition

At subsys/net/ip/Kconfig:311

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:22subsys/net/Kconfig:91

Menu path: (top menu) → Networking → IP stack

config NET_CONTEXT_SYNC_RECV
    bool
    prompt "Support synchronous functionality in net_context_recv() API" if !NET_RAW_MODE && NETWORKING
    default "y" if !NET_RAW_MODE && NETWORKING
    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.

(Definitions include propagated dependencies, including from if’s and menus.)