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.

Direct dependencies

NET_SOCKETS && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 3000

Kconfig definition

At <Zephyr>/subsys/net/lib/sockets/Kconfig:30

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

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.)