CONFIG_NET_MAX_CONN

How many network connections are supported

Type: int

Help

The value depends on your network needs. The value should include both UDP and TCP connections.

Direct dependencies

(NET_UDP || NET_TCP) && !NET_RAW_MODE && NETWORKING

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/net/ip/Kconfig:276

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

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

config NET_MAX_CONN
    int
    prompt "How many network connections are supported" if (NET_UDP || NET_TCP) && !NET_RAW_MODE && NETWORKING
    default 8 if NET_IPV6 && NET_IPV4 && (NET_UDP || NET_TCP) && !NET_RAW_MODE && NETWORKING
    default 4 if (NET_UDP || NET_TCP) && !NET_RAW_MODE && NETWORKING
    depends on (NET_UDP || NET_TCP) && !NET_RAW_MODE && NETWORKING
    help
      The value depends on your network needs. The value
      should include both UDP and TCP connections.

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