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_SOCKETS_PACKET || NET_SOCKETS_CAN) && !NET_RAW_MODE && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/net/Kconfig:87

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

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

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