:orphan: .. title:: CONFIG_NET_MAX_CONN .. kconfig:: CONFIG_NET_MAX_CONN CONFIG_NET_MAX_CONN ################### *How many network connections are supported* Type: ``int`` Help ==== .. code-block:: none The value depends on your network needs. The value should include both UDP and TCP connections. Direct dependencies =================== (\ :kconfig:`NET_UDP ` || \ :kconfig:`NET_TCP ` || \ :kconfig:`NET_SOCKETS_PACKET ` || \ :kconfig:`NET_SOCKETS_CAN `) && !\ :kconfig:`NET_RAW_MODE ` && \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 8 if \ :kconfig:`NET_IPV6 ` && \ :kconfig:`NET_IPV4 ` - 4 Kconfig definition ================== At ``/net/ip/Kconfig:510`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:87`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack .. code-block:: kconfig 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.)*