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 subsys/net/ip/Kconfig:445

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:80

Menu path: (Top) → 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.)