:orphan: .. title:: CONFIG_NET_SOCKETS_CONNECT_TIMEOUT .. kconfig:: CONFIG_NET_SOCKETS_CONNECT_TIMEOUT CONFIG_NET_SOCKETS_CONNECT_TIMEOUT ################################## *Timeout value in milliseconds to CONNECT* Type: ``int`` Help ==== .. code-block:: none This variable specifies time in milliseconds after connect() API call will timeout if we have not received SYN-ACK from peer. Direct dependencies =================== \ :kconfig:`NET_SOCKETS ` && \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Default ======= - 3000 Kconfig definition ================== At ``/net/lib/sockets/Kconfig:38`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:89`` → ``/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 .. code-block:: kconfig config NET_SOCKETS_CONNECT_TIMEOUT int "Timeout value in milliseconds to CONNECT" range 0 60000 default 3000 depends on NET_SOCKETS && NETWORKING help This variable specifies time in milliseconds after connect() API call will timeout if we have not received SYN-ACK from peer. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*