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

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