-
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¶
NET_SOCKETS_NET_MGMT
&& NET_SOCKETS
&& NETWORKING
(Includes any dependencies from ifs and menus.)
Default¶
1
Kconfig definition¶
At <Zephyr>/subsys/net/lib/sockets/Kconfig:209
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:34
→ <Zephyr>/subsys/net/Kconfig:89
→ <Zephyr>/subsys/net/lib/Kconfig:30
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Libraries → BSD Sockets compatible API → Enable network management socket support [EXPERIMENTAL]
config NET_SOCKETS_NET_MGMT_MAX_LISTENERS int "Max number of sockets to listen" default 1 depends onNET_SOCKETS_NET_MGMT
&&NET_SOCKETS
&&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.)