-
CONFIG_NET_SOCKETS_CONNECT_TIMEOUT
¶
Timeout value in milliseconds to CONNECT
Type: int
Help¶
This variable specifies time in milliseconds after connect() API call will timeout if we have not received SYN-ACK from peer.
Defaults¶
- 3000 if
NET_SOCKETS
&&NETWORKING
Kconfig definition¶
At subsys/net/lib/sockets/Kconfig:32
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:24
→ subsys/net/Kconfig:84
→ subsys/net/lib/Kconfig:29
Menu path: (top menu) → Networking → Network Libraries → BSD Sockets compatible API
config NET_SOCKETS_CONNECT_TIMEOUT int prompt "Timeout value in milliseconds to CONNECT" ifNET_SOCKETS
&&NETWORKING
range 0 60000 ifNET_SOCKETS
&&NETWORKING
default 3000 ifNET_SOCKETS
&&NETWORKING
depends onNET_SOCKETS
&&NETWORKING
help This variable specifies time in milliseconds after connect() API call will timeout if we have not received SYN-ACK from peer.
(Definitions include propagated dependencies, including from if’s and menus.)