Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <ravikumar.veeramally@linux.intel.com>
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters