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 subsys/net/lib/sockets/Kconfig:30

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:82subsys/net/lib/Kconfig:28

Menu path: (Top) → 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.)