Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tcp: check SO_ERROR only for active connections #667

Merged
merged 1 commit into from
Jan 29, 2023
Merged

Conversation

sreimers
Copy link
Member

@sreimers sreimers commented Jan 28, 2023

only needed after connect(2):

 use getsockopt to read the SO_ERROR option at
 level SOL_SOCKET to determine whether connect() completed
 successfully (if SO_ERROR is zero).

only needed for connect(2):
  * use getsockopt to read the SO_ERROR option at
  * level SOL_SOCKET to determine whether connect() completed
  * successfully (if SO_ERROR is zero).
@sreimers sreimers marked this pull request as ready for review January 28, 2023 16:52
@alfredh alfredh merged commit b025063 into main Jan 29, 2023
@alfredh alfredh deleted the tcp_so_error branch January 29, 2023 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants