Please sign in to comment.
net: sockets: Add timeout to socket connect call
Current socket connect call implementation always takes K_FOREVER timeout value, which blocks TCP connections in case failure. TCP connections waits until it receives SYN ACK. If there is no SYC ACK means, connect call is blocked forever. Added a Kconfig option to define timeout value. Default value is 3000 milliseconds. User can modify it. Signed-off-by: Ravi kumar Veeramally <email@example.com>
- Loading branch information...
Showing with 12 additions and 2 deletions.