:orphan: .. title:: NET_SOCKETS_NET_MGMT_MAX_LISTENERS .. option:: CONFIG_NET_SOCKETS_NET_MGMT_MAX_LISTENERS *Max number of sockets to listen* Type: ``int`` Help ==== This sets the maximum number of net_mgmt sockets that can be set by the socket interface. So if you have two separate sockets that are used for listening events, you need to set this to two. Direct dependencies =================== \ :option:`NET_SOCKETS_NET_MGMT ` && \ :option:`NET_SOCKETS ` && \ :option:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Default ======= - 1 Kconfig definition ================== .. highlight:: kconfig At ``subsys/net/lib/sockets/Kconfig:150`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``subsys/Kconfig:22`` → ``subsys/net/Kconfig:82`` → ``subsys/net/lib/Kconfig:28`` Menu path: (Top) → Networking → Link layer and IP networking support → Network Libraries → BSD Sockets compatible API → Enable network management socket support [EXPERIMENTAL] .. parsed-literal:: config NET_SOCKETS_NET_MGMT_MAX_LISTENERS int "Max number of sockets to listen" default 1 depends on \ :option:`NET_SOCKETS_NET_MGMT ` && \ :option:`NET_SOCKETS ` && \ :option:`NETWORKING ` help This sets the maximum number of net_mgmt sockets that can be set by the socket interface. So if you have two separate sockets that are used for listening events, you need to set this to two. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*